{"id":"CVE-2023-6780","summary":"Glibc: integer overflow in __vsyslog_internal()","details":"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.","modified":"2026-08-28T11:46:04.306241524Z","published":"2024-01-31T14:08:02.610Z","related":["CGA-w768-hxj8-8vvf","USN-6620-1"],"database_specific":{"cwe_ids":["CWE-131"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6780.json","cna_assigner":"redhat"},"references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.html"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2024/Feb/3"},{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D2FIH77VHY3KCRROCXOT6L27WMZXSJ2G/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MWQ6BZJ6CV5UAW4VZSKJ6TO4KIW2KWAQ/"},{"type":"WEB","url":"https://packages.fedoraproject.org/"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2024/01/30/6"},{"type":"WEB","url":"https://www.qualys.com/2024/01/30/cve-2023-6246/syslog.txt"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2023-6780"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6780.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6780"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202402-01"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20250207-0010/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2254396"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bminor/glibc","events":[{"introduced":"a704fd9a133bfb10510e18702f48a6a9c88dbbd5"},{"fixed":"ef321e23c20eebc6d6fb4044425c00e6df27b05f"}],"database_specific":{"extracted_events":[{"introduced":"2.37"},{"fixed":"2.39"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*"}}],"versions":["glibc-2.38","glibc-2.38.9000","glibc-2.37","glibc-2.37.9000"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-6780.json"}},{"ranges":[{"type":"GIT","repo":"https://sourceware.org/git/glibc.git","events":[{"introduced":"a704fd9a133bfb10510e18702f48a6a9c88dbbd5"},{"fixed":"ef321e23c20eebc6d6fb4044425c00e6df27b05f"}],"database_specific":{"extracted_events":[{"introduced":"2.37"},{"fixed":"2.39"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*"}}],"versions":["glibc-2.38","glibc-2.38.9000","glibc-2.37","glibc-2.37.9000"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-6780.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}