LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2023-4911: GNU C Library Buffer Overflow Vulnerability

RBRecent Breaches Vulnerability Intelligence·Nov 21, 2023
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Dec 12, 2023
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2023-4911 to its Known Exploited Vulnerabilities catalog on Nov 21, 2023, with a federal patch deadline of Dec 12, 2023 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

GNU C Library's dynamic loader ld.so contains a buffer overflow vulnerability when processing the GLIBC_TUNABLES environment variable, allowing a local attacker to execute code with elevated…

CVE-2023-4911 is a buffer overflow vulnerability in the GNU C Library (glibc), specifically in its dynamic loader ld.so. The flaw arises when ld.so processes the GLIBC_TUNABLES environment variable, and a local attacker can abuse it to execute code with elevated privileges. Because glibc is foundational to nearly every Linux system, this local privilege-escalation risk matters for any environment where untrusted users or processes can set environment variables and interact with setuid binaries or other privileged contexts. Confirm exact impact and affected builds against the vendor advisory.

CISA notes that the required action is to apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. Known ransomware use is not documented for this CVE.

How it works

The weakness is classified as CWE-122 (heap-based buffer overflow). In the dynamic loader ld.so, improper handling of the GLIBC_TUNABLES environment variable can overflow a buffer. An attacker who can control that variable on a local system may craft input that overwrites memory in a way that allows arbitrary code execution in the context of a higher-privileged process. This is a classic local privilege-escalation pattern for loader or library flaws: the attacker does not need remote network access, only the ability to influence the environment of a process that loads the vulnerable glibc. Exact exploit mechanics, memory layouts, and success conditions vary by build and configuration; do not assume any particular technique works without verifying against the vendor advisory and your own testing.

Am I affected? How to find it in your systems

GNU C Library is the standard C library on the vast majority of Linux distributions and is present on servers, workstations, containers, and many embedded or appliance images that ship a Linux userland. Inventory every Linux host, container base image, and appliance firmware that includes glibc. Check the installed glibc package version and the presence of the dynamic loader (typically ld.so or ld-linux*.so) using your package manager, configuration-management inventory, or container image scanners. Because the vulnerability is triggered via the GLIBC_TUNABLES environment variable, also review where that variable may be set—user profiles, service unit files, container entrypoints, CI/CD runners, and any process that inherits environment from untrusted sources.

Look for signs of exploitation in process accounting, audit logs, and security telemetry: unexpected setuid or privileged process crashes, anomalous environment variables containing long or malformed GLIBC_TUNABLES values, sudden privilege escalations from unprivileged accounts, and loader-related segfaults or abort messages. Correlate these with local user activity or container breakout attempts. Specific version ranges and fixed packages must be confirmed against the vendor advisory for your distribution; do not rely on generic version lists.

How to remediate

Patch first. Apply the vendor-supplied update for the GNU C Library that addresses CVE-2023-4911, following the instructions in the official advisory for your distribution or glibc package source. After updating, restart services and reboot hosts where the loader is in use so that running processes pick up the patched library. Verify the new package version is installed and that the vulnerable code path is no longer present.

Beyond the patch, harden the environment for this class of flaw: restrict which users and services can set arbitrary environment variables, especially around setuid binaries and privileged containers; drop unnecessary capabilities; and keep the attack surface of local privilege escalation small by minimizing setuid usage and enforcing least privilege. Re-scan images and hosts after remediation to confirm the vulnerable glibc is gone.

If you can't patch immediately

Until the vendor update can be applied, reduce risk with compensating controls. Segment systems so that untrusted local users or containers cannot easily reach high-value hosts. Disable or tightly control the use of the GLIBC_TUNABLES environment variable where operationally feasible—strip it from service environments, container runtimes, and user sessions that do not require it. Apply virtual patching or host-based controls that detect and block suspicious environment-variable patterns or loader crashes. Increase monitoring and alerting on privilege-escalation indicators, auditd rules for execve with unusual environments, and process creation from unprivileged contexts. If mitigations are unavailable for a given product, follow CISA guidance and consider discontinuing use until a fix exists. These steps buy time; they do not replace the patch.

If your data may have been exposed

Actively exploited local privilege-escalation vulnerabilities can lead to full host compromise and subsequent data exposure. If you have evidence of exploitation or cannot rule it out, treat the host as potentially breached: isolate it, preserve forensic artifacts, rotate credentials that may have been accessible, and investigate lateral movement. You can run a free exposure scan of your email addresses against known breach data to check whether related accounts appear in public dumps, then force password resets and enable multi-factor authentication where appropriate. Confirm all technical details and remediation steps against the official vendor advisory before closing the incident.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedGNU · GNU C Library
WeaknessCWE-122
Added to CISA KEVNov 21, 2023
Federal patch deadlineDec 12, 2023
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities