Skip to content

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

MediumCVSS 6.0 EPSS 0.84%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
freebsd >= 13.4-RELEASE, < p3; >= 14.1-RELEASE, < p7; >= 14.2-RELEASE, < p1 p1, p3, p7 Fixed

Affected products

ProductAffected versionsFixed in
freebsd >= 14.2-RELEASE, < p1 p1
freebsd >= 14.1-RELEASE, < p7 p7
freebsd >= 13.4-RELEASE, < p3 p3

References