Skip to main content

GNU C Library (glibc) EUVDEUVD-2026-23978

| CVE-2026-5450 CRITICAL
Heap-based Buffer Overflow (CWE-122)
2026-04-20 glibc GHSA-v898-xg3c-w4rj
Critical
Disputed · 9.8 Vendor: glibc
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify network service using scanf with %mc
  2. Delivery
    Craft input with width specifier >1024
  3. Exploit
    Trigger scanf parsing of malicious input
  4. Install
    One-byte heap overflow corrupts metadata
  5. C2
    Manipulate heap layout via repeated requests
  6. Execute
    Overwrite function pointer or security token
  7. Impact
    Execute arbitrary code with service privileges

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires target applications using scanf family functions (scanf, fscanf, sscanf, vscanf, vfscanf, vsscanf) with the %mc format specifier (malloc'd character match POSIX extension) AND accepting attacker-controlled input that influences either the format string itself or the data being parsed AND allowing format width specifiers exceeding 1024 characters. The %mc extension is less commonly used than standard %s string matching, significantly limiting vulnerable code surface area. Most security-conscious applications avoid scanf for untrusted input due to historical vulnerabilities, preferring getline(), fgets(), or custom parsers with explicit bounds checking. Exploitation is further constrained by modern heap protections (ASLR, heap canaries, metadata integrity checks) that make reliable single-byte overflow exploitation challenging compared to arbitrary-length overflows. Applications using hardcoded format strings without dynamic construction or those validating width parameters below 1024 are NOT vulnerable despite using affected glibc versions. Network exposure (AV:N in CVSS) assumes the vulnerable parsing code is reachable via network protocols rather than local file processing, which may not reflect actual deployment for many scanf-using applications.

Impact

CVSS 9.8 (AV:N/AC:L/PR:N/UI:N) indicates theoretical maximum severity with network attack vector, low complexity, and no authentication required, suggesting remote unauthenticated exploitation with high confidentiality, integrity, and availability impact. However, this severity rating assumes direct network exposure of vulnerable scanf parsing, which conflicts with typical real-world deployment patterns. EPSS score of 0.02% (5th percentile) strongly contradicts the CVSS severity, indicating security researchers assess actual exploitation probability as negligible. This disparity exists because successful exploitation requires: (1) application code using scanf family functions with %mc format specifier, (2) attacker-controlled format width parameter >1024, and (3) ability to supply malicious input to the parsing function. Most modern applications avoid scanf for untrusted input due to known security weaknesses, use safer alternatives like getline(), or sanitize format strings. The one-byte overflow provides limited exploitation primitives compared to arbitrary-length overflows. Absence from CISA KEV despite glibc's ubiquity confirms no widespread exploitation campaigns exist. Priority should be MODERATE for comprehensive patching, but this is not an emergency 'drop everything' vulnerability despite the high CVSS score. Focus remediation on internet-facing services processing untrusted input through scanf functions rather than blanket infrastructure updates.

Exploit ScenarioDerived

An attacker identifies a network service (e.g., custom protocol parser, log ingestion daemon, IoT device management interface) that accepts user-supplied input and processes it using sscanf() with a %mc format specifier. The attacker crafts a malicious input string containing a character match pattern with an explicit width specifier of 1025 or greater (e.g., '%1025mc'). When the vulnerable glibc scanf implementation processes this input, the heap memory allocator writes one byte beyond the allocated buffer boundary, corrupting adjacent heap metadata. The attacker leverages heap feng shui techniques to position critical data structures (function pointers, vtables, or authentication tokens) adjacent to the overflow location, allowing the single-byte overflow to modify control flow or security-critical values. Successful exploitation yields arbitrary code execution with the privileges of the vulnerable service process, potentially root/system level for privileged daemons.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 21, 2026

Heap buffer overflow in glibc scanf functions versions 2.7 through 2.43 allows remote unauthenticated attackers to execute arbitrary code by providing malicious input to applications using %mc format specifiers with width >1024. CVSS 9.8 indicates critical network-accessible impact, but EPSS score of 0.02% (5th percentile) suggests minimal real-world exploitation activity at time of analysis. No CISA KEV listing confirms this as a theoretical risk requiring specific application usage patterns rather than widespread active exploitation. Successful exploitation depends on target applications parsing attacker-controlled input through affected scanf family functions with specific format string configurations.

RemediationAI

Upgrade to glibc version 2.44 or later when released by the glibc project, monitoring the official sourceware.org announcement list at https://inbox.sourceware.org/libc-announce/. Vendor-specific patched versions not independently confirmed at time of analysis-consult distribution security advisories for backported fixes to stable branches (RHEL, Ubuntu LTS, Debian stable typically backport critical glibc patches within 48-72 hours). Immediate compensating controls: (1) Audit application code for scanf family function usage with %mc format specifier-replace with safer alternatives like getline() with explicit buffer management or POSIX getdelim(); (2) If scanf usage is unavoidable, enforce format string validation to reject width specifiers >1024 or hardcode format strings without runtime construction; (3) Deploy memory safety mitigations including ASLR, stack canaries, and heap protections (already default in most distributions but verify enabled); (4) Network segmentation to limit exposure of services processing untrusted input through vulnerable parsing functions. Note that disabling %m scanf extensions entirely via compiler flags may break legitimate application functionality-test thoroughly before production deployment. Code review focusing on network-facing input handlers provides highest risk reduction with lowest operational impact compared to emergency glibc upgrades.

Affected VersionsENISA

glibc 2.7 <*

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The GNU C Library (glibc) is the foundational C standard library for Linux and Unix-like systems, providing core runtime functions including formatted input parsing. The vulnerability resides in the scanf family of functions (scanf, fscanf, sscanf) when using the POSIX-extension %mc (malloc'd character match) format specifier combined with explicit width specifiers exceeding 1024 characters. The %mc allocator is designed to dynamically allocate memory for matched character sequences, but the implementation contains a CWE-122 heap-based buffer overflow that writes one byte beyond the allocated buffer boundary when width >1024. This affects all glibc versions from 2.7 (released 2007) through 2.43, encompassing nearly two decades of library releases and impacting virtually all Linux distributions and embedded systems using glibc. The heap corruption occurs during the parsing phase before application-level validation, making it a low-level memory safety issue in critical system infrastructure.

Know when Glibc gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Medium–Critical)
Vendor (glibc) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE CRITICAL
Red Hat 5.0 MEDIUM

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: glibc

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch released
Apr 29, 2026 - 02:30 nvd
Patch available
CVSS changed
Apr 21, 2026 - 20:22 NVD
9.8 (CRITICAL)
CVE Published
Apr 20, 2026 - 20:55 nvd
CRITICAL 9.8

DescriptionCVE.org

Calling the scanf family of functions with a %mc (malloc'd character match) in the GNU C Library version 2.7 to version 2.43 with a format width specifier with an explicit width greater than 1024 could result in a one byte heap buffer overflow.

Executive ViewAI

Why It Matters

CVE-2026-5450 is a critical heap buffer overflow in glibc scanf functions (versions 2.7-2.43) affecting any application that processes untrusted input with specific format specifiers, enabling remote code execution without authentication. While the CVSS score of 9.8 reflects severe potential impact, the 0.02% EPSS score and absence of public exploitation indicate this remains a theoretical risk; however, organizations must assume all internet-facing services using vulnerable glibc versions are at risk if they parse user-supplied format strings.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to applications using vulnerable glibc via firewall rules or network segmentation; (2) Implement input validation to reject format specifier strings and enforce maximum input widths <1024 at the application layer; (3) Enable address space layout randomization (ASLR) and stack canaries to increase exploitation complexity; (4) Monitor glibc upstream releases for 2.44+ availability and establish automated patching workflow for immediate deployment once available.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

More in Glibc

View all
CVE-2023-4911 HIGH POC
7.8 Oct 03

Local privilege escalation in the GNU C Library (glibc) dynamic loader ld.so allows unprivileged local users on affected

CVE-2015-0235 CRITICAL POC
10.0 Jan 28

Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18,

CVE-2024-2961 HIGH POC
7.3 Apr 17

The iconv() function in the GNU C Library versions 2.39 and older may overflow the output buffer passed to it by up to 4

CVE-2015-7547 HIGH POC
8.1 Feb 18

Multiple stack-based buffer overflows in the (1) send_dg and (2) send_vc functions in the libresolv library in the GNU C

CVE-2023-6246 HIGH POC
8.4 Jan 31

Local privilege escalation in GNU glibc 2.36 and newer arises from a heap-based buffer overflow in __vsyslog_internal, r

CVE-2014-5119 HIGH POC
7.5 Aug 29

Off-by-one error in the __gconv_translit_find function in gconv_trans.c in GNU C Library (aka glibc) allows context-depe

CVE-2012-4412 HIGH POC
7.5 Oct 09

Integer overflow in string/strcoll_l.c in the GNU C Library (aka glibc or libc6) 2.17 and earlier allows context-depende

CVE-2018-1000001 HIGH POC
7.8 Jan 31

In glibc 2.26 and earlier there is confusion in the usage of getcwd() by realpath() which can be used to write before th

CVE-2019-9169 CRITICAL POC
9.8 Feb 26

In the GNU C Library (aka glibc or libc6) through 2.29, proceed_next_node in posix/regexec.c has a heap-based buffer ove

CVE-2019-1010022 CRITICAL POC
9.8 Jul 15

GNU Libc current is affected by: Mitigation bypass. Rated critical severity (CVSS 9.8), this vulnerability is remotely e

CVE-2021-33574 CRITICAL POC
9.8 May 25

The mq_notify function in the GNU C Library (aka glibc) versions 2.32 and 2.33 has a use-after-free. Rated critical seve

CVE-2023-25139 CRITICAL POC
9.8 Feb 03

sprintf in the GNU C Library (glibc) 2.37 has a buffer overflow (out-of-bounds write) in some situations with a correct

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SLES15-SP5-CHOST-BYOS-SAP-CCloud Fixed
SLES15-SP6-CHOST-BYOS Fixed
SLES15-SP6-CHOST-BYOS-Aliyun Fixed
SLES15-SP6-CHOST-BYOS-Azure Fixed
SLES15-SP6-CHOST-BYOS-EC2 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy