# CVE-2026-6238: Buffer overread in ns_printrrf with corrupted RDATA field

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-04-28T16:43:08.526Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-126
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: glibc

## 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.

(As written by CVE List.)

## Affected

- The GNU C Library glibc: from 2.0.1 up to 2.43
- gnu glibc: from 2.2

## References

- <https://sourceware.org/bugzilla/show_bug.cgi?id=34069> (issue-tracking)
- <https://inbox.sourceware.org/libc-announce/7a655d55-276f-41fe-b550-feb3ebb2ce91@redhat.com/T/#u> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>

## Sources

- CVE List: [CVE-2026-6238](https://www.cve.org/CVERecord?id=CVE-2026-6238), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2026-6238](https://nvd.nist.gov/vuln/detail/CVE-2026-6238), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-6238 · Whole record: https://cve.day/CVE-2026-6238.json · Rebuilt by cve.day 2026-11-25T22:59:19.999Z
