JLSEC-2026-2268: The deprecated functions ns_printrrf, ns_printrr and fp_nquery in the GNU C Library version 2.2...
The deprecated functions nsprintrrf, nsprintrr and fpnquery 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Port applications away from the deprecated GNU C Library functions ns_printrrf, ns_printrr, and fp_nquery; do not use these interfaces in new applications.
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which applications are realistically exposed to this issue?
Only applications that invoke the deprecated GNU C Library debugging interfaces ns_printrrf, ns_printrr, or fp_nquery when processing DNS responses are exposed. The normal DNS resolver code path is not affected.
What must an attacker be able to do to exploit it?
An attacker must be able to provide a crafted DNS response containing A6, CERT, LOC, TKEY, or TSIG records to an application that uses one of the affected functions. No privileges or user interaction are required according to the provided vector.
What is the impact if exploitation succeeds?
A crafted response may cause the target application to crash or read uninitialized memory. The supplied severity vector indicates low confidentiality impact and low availability impact, with no integrity impact.
What should teams do if they cannot immediately update or replace the affected component?
Identify and remove use of ns_printrrf, ns_printrr, and fp_nquery where possible, since they are deprecated debugging interfaces and should not be used by new applications. Port applications away from these interfaces because they may be removed in future GNU C Library versions.