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

Published Nov 10, 2023
·
Updated

A heap-based buffer 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 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.

Other sources

Glibc: heap-based buffer overflow in vsysloginternal()

Microsoft

Affected Software

11 affected componentsFixes available
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+deb10u12.28-10+deb10u22.31-13+deb11u82.31-13+deb11u72.36-9+deb12u42.37-152.37-17
GNU C Library (glibc)=2.37
GNU C Library (glibc)=2.36
GNU glibc>=2.36<2.39
Fedoraproject Fedora=38
Fedoraproject Fedora=39
Microsoft azl3 glibc 2.38-6
Microsoft azl3 glibc 2.38-10

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

Nov 10, 2023
Data Sourced
via Red Hat·01:17 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:06 PM
Data Sourced
via MITRE·02:06 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Feb 5, 2024
News Published
via The Register·01:27 AM
News Published
via The Register·01:29 AM
Feb 29, 2024
Data Sourced
via Launchpad·02:02 PM
Description
Jun 30, 2024
Data Sourced
via Microsoft·02:00 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·02:00 PM
Affected Software
Updated
via Microsoft·02:00 PM
DescriptionSeverity

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-6246?

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

2

How do I fix CVE-2023-6246?

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

3

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

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

4

What type of vulnerability is CVE-2023-6246?

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

5

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