CVE 6.5 MEDIUM

Buffer overread in ns_printrrf with corrupted RDATA field_CVE-2026-6238

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

Description

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.

Basic Information

ID CVE-2026-6238
Source glibc
Published Apr 28, 2026 at 16:43
Modified Apr 28, 2026 at 18:51

Affected Product

Vendor The GNU C Library
Product glibc
Version 2.2
Affected Versions The GNU C Library glibc 2.2

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.