CVE-2023-5941
criticalpriority · track · 39EPSS 0.011 · 65 %ileDEEURUUSEPSS · scored 2026-10-25
In versions of FreeBSD 12.4-RELEASE prior to 12.4-RELEASE-p7 and FreeBSD 13.2-RELEASE prior to 13.2-RELEASE-p5 the __sflush() stdio function in libc does not correctly update FILE objects' write space members for write-buffered streams when the write(2) system call returns an error. Depending on the nature of an application that calls libc's stdio functions and the presence of errors returned from the write(2) system call (or an overridden stdio write routine) a heap buffer overflow may occur. Such overflows may lead to data corruption or the execution of arbitrary code at the privilege level of the calling program.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (12)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-2855FreeBSD Project FreeBSD OS: Mehrere SchwachstellenDeutsch2023-11-07csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen im FreeBSD Project FreeBSD OS ausnutzen, um beliebigen Code auszuführen, Dateien zu manipulieren oder einen unspezifischen Angriff durchzuführen.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-5941/cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2023-5941cnnvd
- https://security.freebsd.org/advisories/FreeBSD-SA-23:15.stdio.asccnnvd
- https://www.freebsd.org/security/patches/SA-23:15/stdio.14.patchPatchcnnvd
- https://security.freebsd.org/advisories/FreeBSD-SA-23:15.stdio.ascenisa_euvd
- https://security.netapp.com/advisory/ntap-20231214-0004/enisa_euvd
- https://security.freebsd.org/advisories/FreeBSD-SA-23:15.stdio.ascVendor Advisorynvd
- https://security.netapp.com/advisory/ntap-20231214-0004/nvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan