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

Published Dec 13, 2023
·
Updated

An off-by-one 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 these functions are called with a message bigger than INTMAX 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.

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
GNU C Library (glibc)=2.37
GNU C Library (glibc)=2.36
GNU glibc>=2.37<2.39
Fedoraproject Fedora=38
Fedoraproject Fedora=39
redhat/glibc<2.39
2.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:28 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:07 PM
Data Sourced
via MITRE·02:07 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Feb 29, 2024
Data Sourced
via Launchpad·02:02 PM
Description

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

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

2

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.

3

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.

4

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.

5

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