# CVE-2023-6246: Glibc: heap-based buffer overflow in __vsyslog_internal()

- Severity: High 8.4 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.79%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 6 links below, marked "exploit"
- Published: 2024-01-31T14:06:21.949Z
- Modified: 2026-10-14T22:15:16.680Z
- Weaknesses: CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- glibc: no versions given (not affected: 2.39)
- compat-glibc: no versions given
- gnu glibc: from 2.36 before 2.39
- fedoraproject fedora: 38; 39

## Every score

- redhat: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <http://packetstormsecurity.com/files/176931/glibc-qsort-Out-Of-Bounds-Read-Write.html> (exploit, third-party-advisory, vdb-entry)
- <http://packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.html> (exploit, third-party-advisory, vdb-entry)
- <http://seclists.org/fulldisclosure/2024/Feb/3> (exploit, third-party-advisory)
- <http://seclists.org/fulldisclosure/2024/Feb/5> (exploit, third-party-advisory)
- <https://www.openwall.com/lists/oss-security/2024/01/30/6> (exploit, mailing-list, third-party-advisory)
- <https://www.qualys.com/2024/01/30/cve-2023-6246/syslog.txt> (exploit, third-party-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-6246> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2249053> (issue-tracking, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D2FIH77VHY3KCRROCXOT6L27WMZXSJ2G/> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MWQ6BZJ6CV5UAW4VZSKJ6TO4KIW2KWAQ/> (mailing-list)
- <https://security.gentoo.org/glsa/202402-01> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20240216-0007/>
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>

## Sources

- CVE List: [CVE-2023-6246](https://www.cve.org/CVERecord?id=CVE-2023-6246), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2023-6246](https://nvd.nist.gov/vuln/detail/CVE-2023-6246), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-6246 · Whole record: https://cve.day/CVE-2023-6246.json · Rebuilt by cve.day 2026-11-25T22:58:32.295Z
