Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-5941

published

libc stdio buffer overflow

Published
08 Nov 2023, 08:52:26 UTC
Updated
13 Feb 2025, 17:25:58 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
FreeBSD — FreeBSD12.4-RELEASE to < p7 · 13.2-RELEASE to < p5 · Other versions: unknown Affected Not stated freebsd

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.

en · freebsd · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
FreeBSD FreeBSD 12.4-RELEASE to < p7 (affected · release)13.2-RELEASE to < p5 (affected · release)Default: unknown freebsd · cna

Weaknesses

2
  • CWE-787 CWE-787 Out-of-bounds Write (freebsd · cna)
  • CWE-131 CWE-131 Incorrect Calculation of Buffer Size (freebsd · cna)

References

2

Provider assertions

2

freebsd · cna

libc stdio buffer overflow

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
bef3008d48fae6dcedb74b237a242a16d9eaf596ac248c8a2e9daa42e9cbb92b
Ingested
23 Sep 2026, 08:15:31 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected