NFS server crash via FID buffer overflow
Published Jan 30, 2025 · Updated Feb 7, 2025
Stack-based buffer overflow in FreeBSD allows remote authenticated users to crash NFS servers through exported cd9660, tarfs, or ext2fs filesystems. The 64-bit VOP_VPTOFH implementations write four bytes past the destination FID stack buffer while translating an exported file's vnode to its filehandle. Only NFS servers exporting one of these filesystems are affected; demonstrated exploitation causes a kernel panic, while code execution is unproven.
Summary
What happened
Stack-based buffer overflow in FreeBSD allows remote authenticated users to crash NFS servers through exported cd9660, tarfs, or ext2fs filesystems. The 64-bit VOP_VPTOFH implementations write four bytes past the destination FID stack buffer while translating an exported file's vnode to its filehandle. Only NFS servers exporting one of these filesystems are affected; demonstrated exploitation causes a kernel panic, while code execution is unproven.
The record
- CVE
- CVE-2025-0373
- Published
- Jan 30, 2025
- Updated
- Feb 7, 2025
- Vendor
- The FreeBSD Project
- Product
- FreeBSD
- Classifications
- CWE-121, T1499.004
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 30, 2025CVE publishedPublication date reported by the CVE source.
- Feb 7, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=13.4-RELEASE <p3
- Affected versionversion=14.1-RELEASE <p7
- Affected versionversion=14.2-RELEASE <p1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo