CVE-2026-5435

Potential buffer overflow in ns_sprintrrf TSIG handling path

Published Apr 28, 2026 CVSS 3.1 · 7.3 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability exists in the deprecated ndns printing functions ns_printrrf, ns_printrr, and fp_nquery of the GNU C Library, starting with version 2.2. The functions do not check the size of the caller-supplied buffer, which can cause an out‑of‑bounds write when printing TSIG records. This memory corruption could lead to data corruption, unstable behaviour, or exploitation that allows arbitrary code execution, depending on the attacker’s ability to control the input data.

Affected Systems

All systems that use the GNU C Library (glibc) version 2.2 or newer are affected, regardless of the distribution or operating system. The vulnerability is tied to the built‑in DNS module that processes TSIG records.

Risk and Exploitability

The CVSS score of 7.3 indicates a high risk level. EPSS is not available, and the vulnerability is not listed in CISA KEV, implying no known active exploitation yet. The likely attack vector is via a crafted DNS query containing a malicious TSIG record, so network‑based administrators should monitor outgoing DNS traffic for suspicious characteristics. The magnitude of impact could be system‑wide if the corrupted memory affects critical library functions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the GNU C Library to the latest available version from the vendor or your distribution’s package manager, which includes the required safety checks.
  • Re‑start all services that link against glibc after the upgrade to ensure the new library is loaded into memory.
  • If an immediate upgrade is not possible, consider temporarily disabling TSIG record processing or restricting DNS traffic from untrusted sources to reduce exposure.

Generated by OpenCVE AI on April 29, 2026 at 02:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8611-1 GNU C Library vulnerabilities
History
Type Values Removed Values Added
First Time appeared Gnu
Gnu glibc
CPEs cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*
Vendors & Products Gnu
Gnu glibc
Type Values Removed Values Added
First Time appeared Redhat
Redhat hummingbird
Weaknesses CWE-120
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

Type Values Removed Values Added
First Time appeared The Gnu C Library
The Gnu C Library glibc
Vendors & Products The Gnu C Library
The Gnu C Library glibc
Type Values Removed Values Added
Description 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.
Title Potential buffer overflow in ns_sprintrrf TSIG handling path
Weaknesses CWE-787
References
Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
glibc
Published
Updated
Oct 15, 2026, 1:12 AM
Reserved
Apr 2, 2026, 5:18 PM
Status
Modified
Published
Apr 28, 2026, 1:19 PM
Modified
Nov 11, 2026, 11:10 PM
Severity
Moderate
Public date
Apr 28, 2026, 11:58 AM