CVE-2026-6238CWE-126

Buffer overread in ns_printrrf with corrupted RDATA field

Medium · published April 28, 2026

CVSS v3.1
6.5
EPSS
0%
Percentile
37.5
In the wild
Unconfirmed
What it is

The deprecated functions ns_printrrf, ns_printrr and fp_nquery in the GNU C Library version 2.0.1 to version 2.43 fail to validate the RDATA content against the RDATA length in a DNS response when processing A6, CERT, LOC, 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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00444 · 37.5th percentile
Weakness
CWE-126 · Buffer Over-read
Published
2026-04-28T16:43Z
EPSS history
Timeline
  • 28 APR 16:43Z
    Buffer overread in ns_printrrf with corrupted RDATA field
    cvelistv5