{"id":"CVE-2023-6246","published":"2024-01-31T14:06:21Z","modified":"2026-10-14T22:15:16Z","title":"Glibc: heap-based buffer overflow in __vsyslog_internal()","vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04794,"percentile":0.92148,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"http://packetstormsecurity.com/files/176931/glibc-qsort-Out-Of-Bounds-Read-Write.html","tags":[]},{"url":"http://packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.html","tags":[]},{"url":"http://seclists.org/fulldisclosure/2024/Feb/3","tags":[]},{"url":"http://seclists.org/fulldisclosure/2024/Feb/5","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2023-6246","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2249053","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D2FIH77VHY3KCRROCXOT6L27WMZXSJ2G/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MWQ6BZJ6CV5UAW4VZSKJ6TO4KIW2KWAQ/","tags":[]},{"url":"https://security.gentoo.org/glsa/202402-01","tags":[]},{"url":"https://www.openwall.com/lists/oss-security/2024/01/30/6","tags":[]},{"url":"https://www.qualys.com/2024/01/30/cve-2023-6246/syslog.txt","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240216-0007/","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[]}],"priority":{"score":29.3,"factors":[{"name":"EPSS percentile","points":18.43},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.88}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2024-03-02","earliestUrl":"https://github.com/elpe-pinillo/CVE-2023-6246","repos":[{"name":"elpe-pinillo/CVE-2023-6246","url":"https://github.com/elpe-pinillo/CVE-2023-6246","stars":8,"created":"2024-03-02"},{"name":"SimoesCTT/CTT-Vsyslog-Vortex-CVE-2023-6246","url":"https://github.com/SimoesCTT/CTT-Vsyslog-Vortex-CVE-2023-6246","stars":0,"created":"2026-04-06"}]},"first":{"date":"2024-03-02","source":"PoC-in-GitHub","url":"https://github.com/elpe-pinillo/CVE-2023-6246"},"provenance":"source"},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Fedora","product":"Fedora","versions":["all versions"]}],"fixedVersions":[{"vendor":"n/a","product":"glibc","versions":["2.39"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-02-09T05:00:28.307432Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is a heap-based buffer overflow in the __vsyslog_internal() function of the glibc library, affecting Red Hat Enterprise Linux 6. An attacker with local access can trigger it, leading to an application crash or local privilege escalation, when the program calls syslog or vsyslog without a prior openlog call (or with ident set to NULL) and the basename of argv[0] exceeds 1024 bytes.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:28:25Z"},"euvd":{"id":"EUVD-2023-58491","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/176931/glibc-qsort-Out-Of-Bounds-Read-Write.html","http://packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.html"]}