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

CVE-2023-6246: Glibc: heap-based buffer overflow in __vsyslog_internal()

First published: Fri Nov 10 2023(Updated: )

A 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 the openlog function was not called, or called with the ident argument set to NULL, and the program name (the basename of argv[0]) is bigger than 1024 bytes, resulting in an application crash or local privilege escalation. This issue affects glibc 2.36 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.36<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-6246?

    CVE-2023-6246 has been classified as a high severity vulnerability due to its potential impact on affected systems.

  • How do I fix CVE-2023-6246?

    To mitigate CVE-2023-6246, update the glibc library to version 2.39 or later.

  • Which software versions are affected by CVE-2023-6246?

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

  • What type of vulnerability is CVE-2023-6246?

    CVE-2023-6246 is a heap-based buffer overflow vulnerability.

  • What functions are primarily associated with CVE-2023-6246?

    CVE-2023-6246 is related to the __vsyslog_internal function and the logging functions called within the glibc library.

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