The 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.
References
| Link | Resource |
|---|---|
| https://inbox.sourceware.org/libc-announce/7a655d55-276f-41fe-b550-feb3ebb2ce91@redhat.com/T/#u | Third Party Advisory |
| https://sourceware.org/bugzilla/show_bug.cgi?id=34069 | Issue Tracking |
Configurations
History
04 May 2026, 17:57
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://inbox.sourceware.org/libc-announce/7a655d55-276f-41fe-b550-feb3ebb2ce91@redhat.com/T/#u - Third Party Advisory | |
| References | () https://sourceware.org/bugzilla/show_bug.cgi?id=34069 - Issue Tracking | |
| First Time |
Gnu
Gnu glibc |
|
| CPE | cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:* |
28 Apr 2026, 22:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.5 |
28 Apr 2026, 19:37
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-04-28 19:37
Updated : 2026-05-04 17:57
NVD link : CVE-2026-6238
Mitre link : CVE-2026-6238
CVE.ORG link : CVE-2026-6238
JSON object : View
Products Affected
gnu
- glibc
CWE
CWE-126
Buffer Over-read
