Skip to content
Server Security Center
KEVhigh7.8

CVE-2023-4911: GNU C Library Buffer Overflow

GNU C Library · listed in the CISA catalog of actively exploited vulnerabilities since 2023-11-21.

CVSS v3.1 (CVE record)
7.8
high
EPSS (exploit probability, 30 days)
64%
higher than 99.2% of all CVEs
Added to CISA KEV
2023-11-21
US federal due date 2023-12-12
Ubuntu priority
high

CVE-2023-4911 explained

CVE-2023-4911 is a buffer overflow in the GNU C Library's dynamic loader ld.so, triggered while it processes the GLIBC_TUNABLES environment variable. A local user can abuse it when launching SUID binaries to run code with elevated privileges. CISA lists it as known exploited, so patching should be treated as urgent.

Impact

A local attacker with low privileges can supply crafted GLIBC_TUNABLES values when starting a SUID binary and execute code with elevated privileges. No user interaction is needed and attack complexity is low. Successful exploitation can fully compromise confidentiality, integrity and availability of the system. The attack requires local access, so any system with untrusted local users, shell accounts or code execution paths is at higher risk.

Who is affected

The vulnerable source package is glibc. Fixed versions are available in the standard archives for all listed releases: Debian 12 (bookworm) is fixed in 2.36-9+deb12u3, Ubuntu 22.04 LTS in 2.35-0ubuntu3.4, and Ubuntu 24.04 LTS in 2.38-1ubuntu6. No Ubuntu Pro subscription is required for these fixes. All listed releases are supported.

Written with AI from the data on this page and checked against it automatically.

Official description

A buffer overflow was discovered in the GNU C Library's dynamic loader ld.so while processing the GLIBC_TUNABLES environment variable. This issue could allow a local attacker to use maliciously crafted GLIBC_TUNABLES environment variables when launching binaries with SUID permission to execute code with elevated privileges.

CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

CISA notes

Upstream versions (CVE record)

From the CVE record published by the vendor or CVE numbering authority.

  • glibc
    Affected
    • ≥ 2.34, < 2.39
    Fixed in
    • 2.39

Not affected according to the record: Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8.6 Extended Update Support, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 9.0 Extended Update Support, Red Hat Virtualization 4 for Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7.

Also affected (reported by product suppliers)

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
    Affected
    • ≥ V3.1.5
    Fixed in
    not stated
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
    Affected
    • ≥ V3.1.5
    Fixed in
    not stated
  • Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
    Affected
    • < V1.1
    Fixed in
    • V1.1
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
    Affected
    • ≥ V3.1.5
    Fixed in
    not stated

Ubuntu and Debian releases

A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.

What to do

  1. Update the glibc packages to the fixed version for your release from the standard archive.
  2. Verify the installed glibc version matches or exceeds the fixed version listed for your release.
  3. Restart services, or reboot the system, so running programs stop using the old library code.
  4. Prioritize multi-user systems and hosts where untrusted users can run local commands.
  5. Follow the Debian or Ubuntu security advisory for any additional guidance.

Written with AI from the data on this page and checked against it automatically.

Check and fix on a server

Run on each Ubuntu or Debian server. Replace glibc with the source package from the table above.

1. Show installed packages built from the source package, with their versions

dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="glibc"'

2. Compare each installed version with the fixed version for your release from the table

I=INSTALLED_VERSION; F=FIXED_VERSION   # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac

3. Install the fix

sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${binary:Package} ${source:Package}\n' | awk '$2=="glibc"{print $1}')

Services keep running the old code until they are restarted – restart the affected service or check with needrestart.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-122 Heap-based Buffer Overflow

Questions about CVE-2023-4911

Can this be exploited remotely?
Not directly. The attack vector is local. An attacker needs the ability to run programs on the system, for example through a user account, before exploiting the flaw to gain elevated privileges.
Is this vulnerability being exploited in practice?
Yes. CISA added CVE-2023-4911 to its Known Exploited Vulnerabilities catalog on 2023-11-21. Whether it has been used in ransomware campaigns is listed as unknown.
Do I need Ubuntu Pro to get the fix?
No. For Ubuntu 22.04 LTS and Ubuntu 24.04 LTS the fixed glibc packages are in the standard archive. Debian 12 (bookworm) also has a fix in its standard archive.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.