CVE-2025-0373

Buffer overflow in some filesystems via NFS

State
Published
Severity
6.0 Medium
Published
Jan 30, 2025
Updated
Feb 7, 2025
Reserved
Jan 10, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.0 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
FreeBSDFreeBSD
  • 14.2-RELEASE to before p1Affected
  • 14.1-RELEASE to before p7Affected
  • 13.4-RELEASE to before p3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.