What’s Vulnerable › Vulnerabilities
CVE-2025-0373: Buffer overflow in some filesystems via NFS
- Severity: medium (CVSS 6.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-01-30 · updated 2026-06-17
- Weakness: CWE-121
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.
Affected products
- FreeBSD: from 14.2-RELEASE before p1; from 14.1-RELEASE before p7; from 13.4-RELEASE before p3 — fixed in p1, p3, p7
How to fix
Upgrade to a fixed version: FreeBSD p1, p3, p7. Check the vendor advisory for mitigations.
References
- https://security.freebsd.org/advisories/FreeBSD-SA-25:02.fs.asc
- https://security.netapp.com/advisory/ntap-20250207-0009/
Get alerted when CVE-2025-0373 or the next vulnerability affects your stack