Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2023-5941 Details

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.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-131Incorrect Calculation of Buffer Size[email protected]
CWE-787Out-of-bounds Write[email protected]
CWE-131Incorrect Calculation of Buffer Size[email protected]
CWE-787Out-of-bounds Write[email protected]

Affected Products

ProductVersions
freebsd freebsd
< 12.4
>= 13.0, < 13.2
12.4 -
12.4 p1
12.4 p2

CPE

  • cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:12.4:-:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:12.4:p1:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:12.4:p2:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:12.4:p3:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:12.4:p4:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:12.4:p5:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:12.4:p6:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:12.4:rc2-p1:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:12.4:rc2-p2:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:13.2:-:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:13.2:p1:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:13.2:p2:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:13.2:p3:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:13.2:p4:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

6 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2023-5941
NVD Published Date:
Nov 8, 2023
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2023-5941 Details - Not Deferred