8.2
CWE
119 122 787
Advisory Published
CVE Published
CVE Published
Updated

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

First published: Wed Dec 13 2023(Updated: )

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.

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

Affected SoftwareAffected VersionHow to fix
redhat/glibc<2.39
2.39
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
GNU C Library=2.37
GNU C Library=2.36
GNU C Library>=2.37<2.39
Fedora=38
Fedora=39
GNU C Library<2.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.

Parent vulnerabilities

(Appears in the following advisories)

Peer vulnerabilities

(Found alongside the following vulnerabilities)

Frequently Asked Questions

  • What is the severity of CVE-2023-6779?

    CVE-2023-6779 has a high severity rating due to its potential to allow remote code execution via a heap-based buffer overflow.

  • How do I fix CVE-2023-6779?

    To fix CVE-2023-6779, upgrade to glibc version 2.39 or later, or apply patches provided by your operating system vendor.

  • What versions of glibc are affected by CVE-2023-6779?

    CVE-2023-6779 affects glibc versions 2.36 and 2.37, and prior versions before 2.39.

  • Is CVE-2023-6779 present in any Linux distributions?

    Yes, CVE-2023-6779 is present in various Linux distributions that utilize vulnerable versions of the glibc library.

  • What are the potential consequences of exploiting CVE-2023-6779?

    Exploiting CVE-2023-6779 can lead to unauthorized access and the ability to execute arbitrary code with elevated privileges.

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