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

Published Dec 13, 2023
·
Updated

An integer overflow was found in the vsysloginternal 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.

Affected Software

9 affected componentsFixes available
ubuntu/glibc<2.38-1ubuntu6.1
2.38-1ubuntu6.1
ubuntu/glibc<2.37-15
2.37-15
debian/glibc
2.28-10+deb10u12.28-10+deb10u22.31-13+deb11u82.31-13+deb11u72.36-9+deb12u42.37-152.37-17
redhat/glibc<2.39
2.39
GNU C Library (glibc)=2.37
GNU C Library (glibc)=2.36
GNU glibc>=2.37<2.39
Fedoraproject Fedora=38
Fedoraproject Fedora=39

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/glibc to a version that resolves this vulnerability.

    Fixed in 2.38-1ubuntu6.1
  2. Upgrade

    Upgrade ubuntu/glibc to a version that resolves this vulnerability.

    Fixed in 2.37-15
  3. Upgrade

    Upgrade debian/glibc to a version that resolves this vulnerability.

    Fixed in 2.28-10+deb10u1Fixed in 2.28-10+deb10u2Fixed in 2.31-13+deb11u8Fixed in 2.31-13+deb11u7Fixed in 2.36-9+deb12u4Fixed in 2.37-15Fixed in 2.37-17
  4. Upgrade

    Upgrade redhat/glibc to a version that resolves this vulnerability.

    Fixed in 2.39

Event History

Dec 13, 2023
Data Sourced
via Red Hat·06:29 PM
DescriptionSeverityAffected Software
Jan 30, 2024
News Published
via BleepingComputer·11:06 PM
News Published
via BleepingComputer·11:07 PM
Jan 31, 2024
CVE Published
via Ubuntu·12:00 AM
CVE Published
via MITRE·02:08 PM
Data Sourced
via MITRE·02:08 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Feb 17, 2024
Data Sourced
via Launchpad·01:59 PM
Description
Sep 11, 56076
Event
via NVD·02:07 PM

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-6780?

CVE-2023-6780 has been classified as a critical vulnerability due to its potential for remote code execution and system compromise.

2

How do I fix CVE-2023-6780?

To mitigate CVE-2023-6780, update the GNU C Library (glibc) to version 2.38 or later.

3

Which versions of glibc are affected by CVE-2023-6780?

CVE-2023-6780 impacts glibc versions 2.36 and 2.37.

4

What exploitation methods exist for CVE-2023-6780?

CVE-2023-6780 can be exploited through remote code execution via crafted syslog and vsyslog calls.

5

Is CVE-2023-6780 present in any major Linux distributions?

Yes, CVE-2023-6780 affects several major Linux distributions, including Ubuntu, Debian, and Fedora.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203