Cyber Resilience

CVE-2023-6246

HighPublic PoCUpdated

Published: 31 January 2024

Published
31 January 2024
Modified
12 May 2026
KEV Added
Patch
CVSS Score v3.1 8.4 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.2696 96.5th percentile
Risk Priority 33 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2023-6246 is a high-severity Heap-based Buffer Overflow (CWE-122) vulnerability in Fedoraproject Fedora. Its CVSS base score is 8.4 (High).

Operationally, ranked in the top 3.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

A heap-based buffer overflow exists in the __vsyslog_internal function of the glibc library, which is invoked by the syslog and vsyslog functions. The flaw is triggered when openlog has not been called or was called with a NULL ident argument and the program name, derived from the basename of argv[0], exceeds 1024 bytes. It affects glibc versions 2.36 and later and carries a CVSS score of 8.4.

An unauthenticated local attacker can exploit the issue simply by executing a program whose name is longer than 1024 bytes and that invokes syslog or vsyslog without a prior openlog call. Successful exploitation may result in an application crash or local privilege escalation to root.

Public proof-of-concept code has been posted to Packet Storm and Full Disclosure, and the EPSS score has reached a peak of 0.2914 with a current value of 0.2696. No information on in-the-wild exploitation is provided in the available references.

EU & UK References

Vulnerability details

A heap-based buffer overflow was found in the __vsyslog_internal function of the glibc library. This function is called by the syslog and vsyslog functions. This issue occurs when the openlog function was not called, or called with the ident argument…

more

set to NULL, and the program name (the basename of argv[0]) is bigger than 1024 bytes, resulting in an application crash or local privilege escalation. This issue affects glibc 2.36 and newer.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

gnu
glibc
2.36 — 2.39
fedoraproject
fedora
38, 39

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-787

Out-of-bounds writes that corrupt control flow or inject shellcode are rendered non-executable by the same memory protections.

References