Buffer overread in ns_printrrf with corrupted RDATA field

Summary

CVECVE-2026-6238
StatePUBLISHED
Assignerglibc
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-28 19:37:47 UTC
Updated2026-05-04 17:57:24 UTC
DescriptionThe deprecated functions ns_printrrf, ns_printrr and fp_nquery in the GNU C Library version 2.2 and newer fail to validate the RDATA content against the RDATA length in a DNS response when processing LOC, CERT, TKEY or TSIG records, which may allow an attacker to craft a DNS response, causing a target application to crash or read uninitialized memory. These functions are for application debugging only and hence not in the path of code executed by the DNS resolver. Further, they have been deprecated since version 2.34 and should not be used by any new applications. Applications should consider porting away from these interfaces since they may be removed in future versions.

Risk And Classification

Primary CVSS: v3.1 6.5 MEDIUM from ADP

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

EPSS: 0.000450000 probability, percentile 0.136530000 (date 2026-05-05)

Problem Types: CWE-126 | CWE-126 CWE-126 Buffer over-read


VersionSourceTypeScoreSeverityVector
3.1ADPDECLARED6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

CVSS v3.1 Breakdown

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

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Gnu Glibc All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA The GNU C Library Glibc affected 2.2 custom Not specified

References

ReferenceSourceLinkTags
sourceware.org/bugzilla/show_bug.cgi 3ff69d7a-14f2-4f67-a097-88dee7810d18 sourceware.org Issue Tracking
inbox.sourceware.org/libc-announce/[email protected]/T 3ff69d7a-14f2-4f67-a097-88dee7810d18 inbox.sourceware.org Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report