CVE-2023-4911: Red Hat GNU C Library Buffer Overflow
This Red Hat advisory covers CVE-2023-4911 in Red Hat Enterprise Linux 8.6 Extended Update Support, Red Hat Enterprise Linux 9.0 Extended Update Support and Red Hat Virtualization 4 for Red Hat Enterprise Linux 8.
Am I affected by CVE-2023-4911?
The Red Hat advisory lists no affected version range that VulniPulse could read. Check it for Red Hat Enterprise Linux 8.6 Extended Update Support, Red Hat Enterprise Linux 9.0 Extended Update Support, Red Hat Virtualization 4 for Red Hat Enterprise Linux 8.
Fixed releases listed by the vendor: glibc-0:2.28-225.el8_8.6, glibc-0:2.28-189.6.el8_6, glibc-0:2.34-60.el9_2.7, glibc-0:2.34-28.el9_0.4, redhat-release-virtualization-host-0:4.5.3-10.el8ev, redhat-virtualization-host-0:4.5.3-202312060823_8.6, RHSA-2023:5455, RHSA-2023:5476, RHSA-2023:5453, RHSA-2023:5454, RHSA-2024:0033
Official advisory · high-confidence parse· fetched ·verify at source
Key facts
- Vendor rating
- High, CVSS 7.8
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H· base score 7.8, scored by redhatAttack vector: local. Attack complexity: low. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.- Weakness
- CWE-122 Heap-based Buffer Overflow
- EPSS
- 63.8% chance of exploitation in the next 30 days (99th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: active. Automatable: no. Technical impact: total. CISA, .
- CISA KEV
- Listed ; federal due date
- Source published
- Source revised
- Listed by VulniPulse
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
CVE-2023-4911 in the CISA Known Exploited Vulnerabilities catalog
- CISA name:
- GNU C Library Buffer Overflow Vulnerability
- CISA description:
- 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 privileges.
- Required action:
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
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.
This vulnerability was introduced in glibc version 2.34. RHEL-8 ships glibc 2.28, which is not originally affected by this vulnerability.
RHEL-8.4 and older are not affected by this vulnerability. Red Hat severity: Important — CVSS 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
Weakness: CWE-122. Affected Red Hat products: 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 lists Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7 as not affected. Red Hat fixing advisory: RHSA-2023:5455, RHSA-2023:5476, RHSA-2023:5453, RHSA-2023:5454, RHSA-2024:0033.
Affected products named by the advisory: Red Hat package: glibc.
Text from the source record.
How to fix CVE-2023-4911
Upgrade to a fixed release named by Red Hat:
- glibc-0:2.28-225.el8_8.6
- glibc-0:2.28-189.6.el8_6
- glibc-0:2.34-60.el9_2.7
- glibc-0:2.34-28.el9_0.4
- redhat-release-virtualization-host-0:4.5.3-10.el8ev
- redhat-virtualization-host-0:4.5.3-202312060823_8.6
- RHSA-2023:5455
- RHSA-2023:5476
- RHSA-2023:5453
- RHSA-2023:5454
- RHSA-2024:0033
Vendor guidance
- For customers who cannot update immediately and do not have Secure Boot feature enabled, the issue can be mitigated using the provided SystemTap script with the following steps. When enabled, any setuid program invoked with GLIBC_TUNABLES in the environment will be terminated immediately. To invoke the setuid program, users will then have to unset or clear the GLIBC_TUNABLES envvar, e.g. `GLIBC_TUNABLES= sudo` . Note that these mitigation steps will need to be repeated if the system is rebooted. 1) Install required systemtap packages and dependencies as per - https://access.redhat.com/solutions/5441 2) Create the following systemtap script, and name it stap_block_suid_tunables.stp: ~~~ function has_tunable_string:long() { name = "GLIBC_TUNABLES" mm = @task(task_current())->mm; if (mm) { env_start = @mm(mm)->env_start; env_end = @mm(mm)->env_end; if (env_start != 0 && env_end != 0) while (env_end > env_start) { cur = user_string(env_start, ""); env_name = tokenize(cur, "="); if (env_name == name && tokenize("", "") != "") return 1; env_start += strlen (cur) + 1 } } return 0; } probe process("/lib*/ld*.so*").function("__tunables_init") { atsecure = 0; /* Skip processing if we can't read __libc_enable_secure, e.g. core dump handler (systemd-cgroups-agent and systemd-coredump). */ try { atsecure = @var("__libc_enable_secure"); } catch { printk (4, sprintf ("CVE-2023-4911: Skipped check: %s (%d)", execname(), pid())); } if (atsecure && has_tunable_string ()) raise (9); } ~~~ 3) Load the systemtap module into the running kernel: ~~~ stap -g -F -m stap_block_suid_tunables stap_block_suid_tunables.stp ~~~ 4) Ensure the module is loaded: ~~~ lsmod | grep -i stap_block_suid_tunables stap_block_suid_tunables 249856 0 ~~~ 5) Once the glibc package is updated to the version containing the fix, the systemtap generated kernel module can be removed by running: ~~~ rmmod stap_block_suid_tunables ~~~ If Secure Boot is enabled on a system, the SystemTap module must be signed. An external compiling server can be used to sign the generated kernel module with a key enrolled into the kernel's keyring or starting with SystemTap 4.7 you can sign a module without a compile server. See further information here - https://www.redhat.com/sysadmin/secure-boot-systemtap
Support dates for the fixed release lines
- Red Hat Enterprise Linux 8: support ends
- Red Hat Enterprise Linux 4: support ended
CVE-2023-4911 in other vendors' advisories
- NetApp: NTAP-20231013-0006, high severity, fixed in ONTAP Select Deploy administration utility: 9.14.1
CVE-2023-4911 questions
Is CVE-2023-4911 being exploited?
Yes. CISA lists it in its Known Exploited Vulnerabilities catalog (added ), which means CISA has evidence of attacks in the wild.
How do I fix CVE-2023-4911?
Upgrade to a fixed release Red Hat lists for your version: glibc-0:2.28-225.el8_8.6, glibc-0:2.28-189.6.el8_6, glibc-0:2.34-60.el9_2.7, glibc-0:2.34-28.el9_0.4 and 7 more. The advisory's own guidance is above.
How likely is CVE-2023-4911 to be exploited?
FIRST's EPSS model gives it a 63.8% chance of exploitation in the next 30 days (99th percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.
How serious is CVE-2023-4911?
Red Hat rates it high, CVSS 7.8 out of 10.
More Red Hat Linux advisories
CVE-2026-125350Nov 10, 2026Use after free in XMLCVE-2026-114713Nov 8, 2026Command injection via unescaped message tagCVE-2026-90436Nov 6, 2026Remote code execution via insecure deserialization of SOAP fault messagesCVE-2026-123158Nov 5, 2026Password authentication bypass via password hash misinterpretationCVE-2026-115731Nov 3, 2026authenticated remote code execution via report event deserializationCVE-2026-119977Oct 31, 2026Arbitrary code execution via predictable upgrade staging paths
Get an email when Red Hat RHEL & SELinux publishes the next one.
See Red Hat RHEL & SELinux's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).