Buffer overflow in GNU Glibc
CVE-2023-6246
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 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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.4 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.048, 92.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Glibc
- Fedora
- Fedoraproject Fedora — versions 38, 39
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- elpe-pinillo/CVE-2023-6246 (8 stars, last pushed 2024-03-06)
- SimoesCTT/CTT-Vsyslog-Vortex-CVE-2023-6246 (last pushed 2026-04-06): CVE-2023-6246 glibc __vsyslog_internal() heap buffer overflow exploitation using Convergent Time Theory (α = 0.0302011). 33-layer temporal heap spray + phase-locked trigger for reliable local privile…
Also mentioned in 15 other repositories (0xor0ne/awesome-list, 20142995/sectool, Atamik03/API-calc-dz, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- packetstormsecurity.com/files/176931/glibc-qsort-Out-Of-Bounds-Read-Write.html (Exploit, VDB Entry, Third Party Advisory)
- packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.ht… (Exploit, VDB Entry, Third Party Advisory)
- seclists.org/fulldisclosure/2024/Feb/3 (Exploit, Third Party Advisory)
- seclists.org/fulldisclosure/2024/Feb/5 (Exploit, Third Party Advisory)
- access.redhat.com/security/cve/CVE-2023-6246 (Third Party Advisory, vdb-entry)
- RHBZ#2249053 (issue-tracking, Third Party Advisory, Issue Tracking)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- security.gentoo.org/glsa/202402-01 (Third Party Advisory)
- www.openwall.com/lists/oss-security/2024/01/30/6 (Exploit, Mailing List, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.