CWE
119 131 190
Advisory Published
CVE Published
CVE Published
Updated

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

First published: Wed Dec 13 2023(Updated: )

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.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
ubuntu/glibc<2.38-1ubuntu6.1
2.38-1ubuntu6.1
ubuntu/glibc<2.37-15
2.37-15
debian/glibc
2.28-10+deb10u1
2.28-10+deb10u2
2.31-13+deb11u8
2.31-13+deb11u7
2.36-9+deb12u4
2.37-15
2.37-17
redhat/glibc<2.39
2.39
GNU C Library=2.37
GNU C Library=2.36
GNU C Library>=2.37<2.39
Fedora=38
Fedora=39

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Peer vulnerabilities

(Found alongside the following vulnerabilities)

Frequently Asked Questions

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

  • How do I fix CVE-2023-6780?

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

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

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

  • What exploitation methods exist for CVE-2023-6780?

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203