CVE-2023-6780
Description
An integer 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 these functions are called with a very long message, leading to an incorrect calculation of the buffer size to store the message, resulting in undefined behavior. This issue affects glibc 2.37 and newer.
Severity
MEDIUM
CVSS v3
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L · source cna
Exploit chance (EPSS)
2.711%
chance of exploitation in the next 30 days
higher than 86.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-131: Incorrect Calculation of Buffer Size
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2024-01-31 |
Timeline
- 2024-01-31Published by the CNA14:08 UTC
- 2024-01-31CISA SSVC decision recordedsame day
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| gnu glibc | from 2.37 before 2.39fixed in 2.39 | 2.39 |
| fedoraproject fedora | 38no fix listed39no fix listed | not listednot listed |
References
- http://packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.html
- http://seclists.org/fulldisclosure/2024/Feb/3
- https://www.openwall.com/lists/oss-security/2024/01/30/6
- https://access.redhat.com/security/cve/CVE-2023-6780
- https://bugzilla.redhat.com/show_bug.cgi?id=2254396
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D2FIH77VHY3KCRROCXOT6L27WMZXSJ2G/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MWQ6BZJ6CV5UAW4VZSKJ6TO4KIW2KWAQ/
- https://security.gentoo.org/glsa/202402-01
- https://security.netapp.com/advisory/ntap-20250207-0010/
- https://www.qualys.com/2024/01/30/cve-2023-6246/syslog.txt
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2023-6780'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2023-6780'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2023-6780'curl 'https://api.contrastcyber.com/cve_products/CVE-2023-6780'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).