Skip to main content

GNU C Library (glibc) CVE-2026-5435

| EUVDEUVD-2026-26036 HIGH
Out-of-bounds Write (CWE-787)
2026-04-28 3ff69d7a-14f2-4f67-a097-88dee7810d18
7.3
CVSS 3.1 · Vendor: 3ff69d7a-14f2-4f67-a097-88dee7810d18
View

Attack ChainAIDerived

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

  1. Access
    Query attacker-controlled DNS server
  2. Delivery
    Receive crafted TSIG record response
  3. Exploit
    Trigger deprecated ns_printrr function
  4. Execution
    Overflow caller buffer
  5. Persist
    Overwrite adjacent memory
  6. Impact
    Execute malicious payload or crash service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

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

Exploitation Conditions

Application must explicitly call one of the three deprecated functions (ns_printrrf, ns_printrr, or fp_nquery) from GNU C Library 2.2+ to process or print DNS TSIG records. The vulnerable code path is not invoked by normal DNS resolution operations or modern DNS libraries, significantly limiting exposure. Attacker must control or influence the DNS response data being processed, either through man-in-the-middle position on DNS traffic, compromise of an authoritative DNS server, or by causing the vulnerable application to query attacker-controlled nameservers. The TSIG record must be crafted to exceed buffer boundaries, requiring knowledge of how the target application allocates buffers for these deprecated function calls. Remote unauthenticated exploitation against the network vector is possible, but only applications actively using these deprecated printing functions are vulnerable, not all glibc installations. Most modern applications and DNS implementations have migrated away from these deprecated functions, substantially reducing real-world attack surface despite the wide installation base of affected glibc versions.

Impact

The CVSS score of 7.3 (High) with vector AV:N/AC:L/PR:N/UI:N indicates this is a remotely exploitable vulnerability requiring no authentication or user interaction, which typically signals critical risk. However, several factors significantly reduce real-world exploitation probability. First, the affected functions are explicitly deprecated, meaning modern applications should not be using them, substantially limiting the attack surface. Second, exploitation requires an application to actively call these specific deprecated printing functions on attacker-controlled TSIG record data, which is a narrow use case. Third, the CVSS impact scores are all Low (C:L/I:L/A:L), suggesting constrained exploitation potential even when conditions are met. No EPSS data provided, no CISA KEV listing, and no public exploit code exists at time of analysis. The sourceware bugzilla reference confirms vendor awareness but does not indicate active exploitation. This appears to be a moderate-priority issue for organizations that have verified use of these deprecated functions in their codebase, but not an emergency patch scenario for most environments. The main risk is to legacy applications or systems that have not modernized their DNS record handling code.

Exploit ScenarioDerived

An attacker crafts a malicious DNS response containing a specially formatted TSIG resource record with oversized or malformed fields. When a vulnerable application using the deprecated ns_printrr or related functions attempts to print this TSIG record for logging or debugging purposes, the function writes beyond the caller-supplied buffer boundary. This out-of-bounds write corrupts adjacent memory, potentially allowing the attacker to overwrite return addresses, function pointers, or security-critical data structures to achieve code execution or denial of service. No public proof-of-concept exists, but the low attack complexity suggests reliable exploit development is feasible.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
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 28, 2026

Out-of-bounds write in GNU C Library 2.2+ allows remote unauthenticated attackers to corrupt memory and potentially execute arbitrary code through specially crafted TSIG DNS records processed by deprecated ns_printrrf, ns_printrr, or fp_nquery functions. While these functions are deprecated, any application still using them for DNS record printing remains vulnerable to network-based attacks with low complexity and no authentication barriers. No public exploit identified at time of analysis, but the deprecated status suggests limited real-world exposure despite the network attack vector.

RemediationAI

Primary remediation is to upgrade to a patched glibc version once released by the GNU C Library project, monitoring the sourceware bugzilla #34033 for patch availability announcements. Since the affected functions are deprecated, the recommended long-term fix is to refactor application code to remove all calls to ns_printrrf, ns_printrr, and fp_nquery, replacing them with modern DNS record handling functions from the glibc resolver library or alternative DNS libraries. As an immediate compensating control, audit your codebase for use of these three functions using grep or static analysis tools; if not used, no action required beyond eventual OS-level glibc update. If functions are in use, implement strict input validation on any DNS record data before passing to these functions, specifically limiting TSIG record size and content, though this is complex and error-prone compared to removing deprecated function calls entirely. Organizations using network-based DNS services should consider restricting which systems can receive TSIG records if the vulnerable functions are confirmed in use, though this may break legitimate DNS authentication workflows. Advisory and patch status at https://inbox.sourceware.org/libc-announce/7a655d55-276f-41fe-b550-feb3ebb2ce91@redhat.com/.

Affected VersionsENISA

glibc 2.2 ≤*

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

This vulnerability affects deprecated DNS resolver library functions (ns_printrrf, ns_printrr, fp_nquery) in GNU C Library versions 2.2 and newer. These functions are part of glibc's BIND compatibility layer for DNS operations. The root cause is CWE-787 (Out-of-bounds Write), where the functions fail to properly enforce caller-supplied buffer length constraints when formatting TSIG (Transaction Signature) resource records for printing. TSIG is a DNS protocol extension defined in RFC 2845 used for authenticating DNS messages. The buffer overflow occurs during the string formatting operations when these functions process TSIG record data without validating that the output remains within the allocated buffer boundaries. The affected CPE is cpe:2.3:a:gnu:glibc:2.2:*:*:*:*:*:*:* and all subsequent versions through current releases, representing decades of potentially vulnerable installations across Linux and Unix-like systems.

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

Vendor (3ff69d7a-14f2-4f67-a097-88dee7810d18) PRIMARY 7.3 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
SUSE HIGH
Red Hat 5.9 MEDIUM

Primary rating from Vendor (3ff69d7a-14f2-4f67-a097-88dee7810d18).

CVSS VectorVendor: 3ff69d7a-14f2-4f67-a097-88dee7810d18

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

Lifecycle Timeline

2
CVSS changed
Apr 28, 2026 - 16:22 NVD
7.3 (HIGH)
CVE Published
Apr 28, 2026 - 13:19 nvd
HIGH 7.3

DescriptionCVE.org

The deprecated functions ns_printrrf, ns_printrr and fp_nquery in the GNU C Library version 2.2 and newer fail to enforce the caller-supplied buffer length, and can result in an out-of-bounds write when printing TSIG records.

Executive ViewAI

Why It Matters

CVE-2026-5435 is a remote code execution vulnerability in GNU C Library affecting applications that use deprecated DNS record processing functions (ns_printrrf, ns_printrr, fp_nquery). Unauthenticated attackers can exploit this via malformed TSIG DNS records to corrupt memory and potentially execute arbitrary code on affected systems. Organizations running legacy applications dependent on these functions face direct compromise risk from network-based attacks requiring no credentials or user interaction.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict DNS query processing to trusted internal DNS servers only via network segmentation and firewall rules; (2) Disable or remove deprecated ns_printrrf, ns_printrr, and fp_nquery function calls from application code where feasible; (3) Monitor for suspicious DNS traffic patterns and memory corruption indicators; (4) Accelerate application modernization to eliminate use of deprecated glibc DNS functions.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor 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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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: High
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