Buffer overflow in some filesystems via NFS (FreeBSD FreeBSD)

CVE-2025-0373
MEDIUM 6.0

At a glance

Source
NVD
EPSS
EPSS 0.43 % · percentile 37 ()
State
PUBLISHED
Published
Updated
Assigner
freebsd
NVD status
Deferred

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.

Weaknesses (CWE)

  • CWE-121 — Stack-based Buffer Overflow

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.0CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:HCISA-ADP
CVSS 3.1MEDIUM 6.0CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
FreeBSD · FreeBSDaffected 14.2-RELEASE < p1 ; affected 14.1-RELEASE < p7 ; affected 13.4-RELEASE < p3

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD