CVE-2023-5941
Last modified
CVE-2023-5941 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 1.07% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Freebsd | Freebsd | < 12.4 |
| Freebsd | Freebsd | >= 13.0, < 13.2 |
| Freebsd | Freebsd | 12.4 |
| Freebsd | Freebsd | 13.2 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-5941?
How severe is CVE-2023-5941?
How do I fix CVE-2023-5941?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-5935When configuring Arc (e.g. during the first setup), a local …7.4
- CVE-2023-5936On Unix systems (Linux, MacOS), Arc uses a temporary file wi…7.8
- CVE-2023-5937On Windows systems, the Arc configuration files resulted to …5.2
- CVE-2023-5938Multiple functions use archives without properly validating …8.9
- CVE-2023-5939The rtMedia for WordPress, BuddyPress and bbPress WordPress …7.2
- CVE-2023-5940The WP Not Login Hide (WPNLH) WordPress plugin through 1.0 d…4.8
- CVE-2023-5942The Medialist WordPress plugin before 1.4.1 does not validat…5.4
- CVE-2023-5943The Wp-Adv-Quiz WordPress plugin before 1.0.3 does not sanit…4.8
- CVE-2023-5944 Delta Electronics DOPSoft is vulnerable to a stack-based bu…7.8
- CVE-2023-5945The video carousel slider with lightbox plugin for WordPress…5.4
- CVE-2023-5946The Digirisk plugin for WordPress is vulnerable to Reflected…6.1
- CVE-2023-5947Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
Are you affected by CVE-2023-5941?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
