CVE-2023-5941

CVSS 3.1 Score 9.8 of 10 (high)

Details

Published Nov 8, 2023
Updated: Dec 14, 2023
CWE ID 131
CWE ID 787

Summary

CVE-2023-5941 is a vulnerability affecting FreeBSD 12.4-RELEASE up to 12.4-RELEASE-p7 and FreeBSD 13.2-RELEASE up to 13.2-RELEASE-p5. The issue lies in the __sflush() function in the library's stdio module. This function fails to update FILE objects' write space members correctly for write-buffered streams when write(2) system calls return errors. This in turn can result in a heap buffer overflow. Consequences of such an overflow include data corruption or the execution of arbitrary code with the same privileges as the calling program.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share