Buffer overflow in FreeBSD

CVE-2025-0373

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.0 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H.

EPSS exploit prediction

EPSS: 0.004 (34.5th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 34th percentile — 34.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-0373: held from 0.004 to 0.004.

EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000

Affected products

  • FreeBSD — versions 14.2-RELEASE, 14.1-RELEASE, 13.4-RELEASE

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-0373?
CVE-2025-0373 is a medium-severity vulnerability in FreeBSD, classified under Stack-based Buffer Overflow. CVSS score: 6.0/10. Published 2025-01-30.
How severe is CVE-2025-0373?
Medium severity. CVSS v3 base score is 6.0 out of 10.