The RDATA length is not validated while parsing LOC, CERT, TKEY, TSIG, and A6 records. Applications using the deprecated ns_sprintrrf, ns_sprintrr, fp_nquery may encounter crashes or read uninitialized memory when processing corrupted DNS packets where the RDATA contents is not structured correctly. Found while writing a test case for bug 34033.
Patches posted: [PATCH 0/5] Fixes for CVE-2026-5435, CVE-2026-6238 <https://inbox.sourceware.org/libc-alpha/cover.1777546194.git.fweimer@redhat.com/>