# CVE-2023-6779: Glibc: off-by-one heap-based buffer overflow in __vsyslog_internal()

- Severity: High 8.2 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/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): 3.15%, higher than 88% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2024-01-31T14:07:41.967Z
- Modified: 2026-10-14T22:15:19.456Z
- Weaknesses: CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

An off-by-one 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 these functions are called with a message bigger than INT_MAX bytes, leading to an incorrect calculation of the buffer size to store the message, resulting in an application crash. This issue affects glibc 2.37 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.37 before 2.39
- fedoraproject fedora: 38; 39

## Every score

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

## References

- <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, mailing-list, third-party-advisory)
- <https://www.openwall.com/lists/oss-security/2024/01/30/6> (exploit, mailing-list)
- <https://access.redhat.com/security/cve/CVE-2023-6779> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2254395> (issue-tracking)
- <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://www.qualys.com/2024/01/30/cve-2023-6246/syslog.txt> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20240223-0006/> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>

## Sources

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

---

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