Skip to main content
← All vulnerabilities
CVE-2025-0373

Buffer overflow in some filesystems via NFS

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in p1, p7, p3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • FreeBSD FreeBSD

    From 14.2-RELEASE · fixed in p1; From 14.1-RELEASE · fixed in p7; From 13.4-RELEASE · fixed in p3

References 1

security.freebsd.org