vulnerability

FreeBSD: VID-5AFCC9A4-7E04-11EE-8E38-002590C1F29C (CVE-2023-5941): FreeBSD -- libc stdio buffer overflow

Severity
10
CVSS
(AV:N/AC:L/Au:N/C:C/I:C/A:C)
Published
Nov 8, 2023
Added
Nov 9, 2023
Modified
Jan 28, 2025

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.

Solution(s)

freebsd-upgrade-base-12_4-release-p7freebsd-upgrade-base-13_2-release-p5
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.