# CVE-2023-6780: Glibc: integer overflow in __vsyslog_internal()

- Severity: Medium 5.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- 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): 2.71%, higher than 86% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2024-01-31T14:08:02.610Z
- Modified: 2026-10-14T22:15:20.900Z
- Weaknesses: CWE-131, CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: redhat

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

(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 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## 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-6780> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2254396> (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-20250207-0010/>
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>

## Sources

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

---

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