CVE-2023-6246
A public proof of concept exists; no exploitation attested.
- Published2024-01-31
- WeaknessCWE-122 · CWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2024-01-3114:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 38.x | = 38 | no fix published | NVD |
| 39.x | = 39 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.x | ≥ 2.36, < 2.39 | 2.39 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA8 products
As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- glibc
Not affected = 2.39
- Red Hat Enterprise Linux 6other versions: not affected
package compat-glibchttps://access.redhat.com/downloads/content/package-browser/
- Red Hat Enterprise Linux 6other versions: not affected
package glibchttps://access.redhat.com/downloads/content/package-browser/
- Red Hat Enterprise Linux 7other versions: not affected
package compat-glibchttps://access.redhat.com/downloads/content/package-browser/
- Red Hat Enterprise Linux 7other versions: not affected
package glibchttps://access.redhat.com/downloads/content/package-browser/
- Red Hat Enterprise Linux 8other versions: not affected
package glibchttps://access.redhat.com/downloads/content/package-browser/
2 more products in the CVE record.
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-02-16
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- glibcWolfiall versions · fixed in 2.38-r11
- glibcUbuntu:24.04:LTSall versions · fixed in 2.39-0ubuntu1
- glibcopenSUSE:Tumbleweedall versions · fixed in 2.39-1.2
- glibcMageia:9all versions · fixed in 2.36-52.mga9
- glibcDebian:14all versions · fixed in 2.37-15
- glibcDebian:13all versions · fixed in 2.37-15
- glibcDebian:12all versions · fixed in 2.36-9+deb12u4
- glibcChainguardall versions · fixed in 2.38-r11
5 more package ranges on OSV.dev
Vendor advisories
- CVE-2023-6246 Red Hat Product Security
glibc: heap-based buffer overflow in __vsyslog_internal()
Siemens SIMATIC S7-1500 CPU family
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more
SSA-082556: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.5
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.5 · +2 more
Fix
- Mitigation from the vendor CISA ICSA-25-162-05 · 5 productsLimit access to the interactive shell of the additional GNU/Linux subssytem to trusted personnel only.
- Mitigation from the vendor CISA ICSA-25-162-05 · 5 productsOnly build and run applications from trusted sources.
- Mitigation from the vendor Siemens ProductCERT SSA-082556 · 5 productsLimit access to the interactive shell of the additional GNU/Linux subssytem to trusted personnel only.
- Mitigation from the vendor Siemens ProductCERT SSA-082556 · 5 productsOnly build and run applications from trusted sources.
- No fix available, says the vendor CISA ICSA-25-162-05 · 5 productsCurrently no fix is available
- No fix available, says the vendor Siemens ProductCERT SSA-082556 · 5 productsCurrently no fix is available
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2024-02-09
- PoC-in-GitHub2 repositories, unverifiedknown since 2026-11-01elpe-pinillo/CVE-2023-6246SimoesCTT/CTT-Vsyslog-Vortex-CVE-2023-6246
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2024-02-09
- CNACVSS 3.18.4known since 2026-10-23
- NVDCVSS 3.17.8read 2026-10-23
- CNAweakness (CWE)CWE-122known since 2026-10-23
- NVDweakness (CWE)CWE-787read 2026-10-23
- FIRST EPSSEPSS score4.8 %2026-11-16
- PoC-in-GitHubproof of concept2known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-34735same flawAzure Linux · MIT
- CGA-7v3c-xmhx-g5c2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-v8jp-q6qq-mxpxsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2023-58491same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-p6rw-gvvh-q8v4same flawGitHub Advisory Database · CC-BY-4.0
- DSA-5611-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2024-0026advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2024:13647-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- USN-6620-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2024-01-31
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-p6rw-gvvh-q8v4
Frequently asked questions
What is CVE-2023-6246?
Is CVE-2023-6246 actively exploited?
What is the CVSS score for CVE-2023-6246?
Running glibc? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-p6rw-gvvh-q8v4
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0