CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2025-0373: Buffer overflow in some filesystems via NFS

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.

Classification

CVE ID: CVE-2025-0373

Affected Products

Vendor: FreeBSD

Product: FreeBSD

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 11.77% (scored less or equal to compared to others)

EPSS Date: 2025-02-28 (when was this score calculated)

References

https://security.freebsd.org/advisories/FreeBSD-SA-25:02.fs.asc

Timeline