Logo
›
›vulnerability›CVE-2026-6238
Name
CVE-2026-6238
Source
NVD ( link)Debian ( link)
Description
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
glibc
Patched

Vulnerability Ratings#


6.5
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
2.41-163-gc97fdd483232a831829aaff458a212307f1bf4bc
Not Affected
buildroot
master
2.44-57-g34106fee698c83eb0af71d4d0381e66b399be746
Exploitable
yocto
kirkstone
2.35
Exploitable
yocto
master
2.44+git
Exploitable

Resolved with patches#


glibc (yocto:scarthgap)

#
Title
Author
Resolve
1
resolv: Fix ns_sprintrrf formatting of class, type values
Florian Weimer <fweimer@redhat.com>
CVE-2026-6238
2
resolv: Check for inet_ntop failure in ns_sprintrrf
Florian Weimer <fweimer@redhat.com>
CVE-2026-6238
3
resolv: Improve formatting of unknown records in ns_sprintrrf
Florian Weimer <fweimer@redhat.com>
CVE-2026-6238
4
resolv: Fix buffer overreads in ns_sprintrrf (CVE-2026-6238)
Florian Weimer <fweimer@redhat.com>
CVE-2026-6238
5
resolv: Declare __p_class_syms, __p_type_syms for internal
Florian Weimer <fweimer@redhat.com>
CVE-2026-6238
6
resolv: Add test case tst-ns_sprintrr (bug 34033, bug 34069)
Florian Weimer <fweimer@redhat.com>
CVE-2026-6238