CVE-2025-0373 Details
Description
On 64-bit systems, the implementation of VOP_VPTOFH() in the cd9660, tarfs and ext2fs filesystems overflows the destination FID buffer by 4 bytes, a stack buffer overflow. A NFS server that exports a cd9660, tarfs, or ext2fs file system can be made to panic by mounting and accessing the export with an NFS client. Further exploitation (e.g., bypassing file permission checking or remote kernel code execution) is potentially possible, though this has not been demonstrated. In particular, release kernels are compiled with stack protection enabled, and some instances of the overflow are caught by this mechanism, causing a panic.
A stack buffer overflow vulnerability has been identified in the VOP_VPTOFH() implementation of the cd9660, tarfs, and ext2fs filesystems on 64-bit FreeBSD systems. This vulnerability occurs when the filesystem identifier (FID) buffer is overflowed by 4 bytes, leading to a stack buffer overflow. An NFS server exporting any of these filesystems can be made to panic by mounting and accessing the export with an NFS client. While further exploitation, such as bypassing file permission checks or remote kernel code execution, could potentially be achieved, this has not been demonstrated. Notably, release kernels have stack protection enabled, which catches some instances of the overflow and causes a panic.
Users can upgrade to a supported FreeBSD stable or release branch dated after the correction date. Instructions for updating via the FreeBSD Update utility or applying a source code patch are available in the FreeBSD Security Advisory.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 30, 2025CISA-ADP
Assessed Jan 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://security.netapp.com/advisory/ntap-20250207-0009/ | CVE | AdvisoryVendor |
| https://security.freebsd.org/advisories/FreeBSD-SA-25:02.fs.asc | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| FreeBSD | All versions |
CPE
Remediation
| |
| NetApp ONTAP | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 7, 2025 | CVE Modified | CVE |
| Feb 5, 2025 | CVE Modified | CISA-ADP |
| Jan 30, 2025 | New CVE Received | [email protected] |
Volerion