CVE-2026-5435
Potential buffer overflow in ns_sprintrrf TSIG handling path
- Severity
- high CVSS 7.3 (v3.1)
- Affects
- glibc · The GNU C Library
- Weakness
- CWE-787 Out-of-bounds write
- Published
- 28 April 2026 by glibc
- First seen on our lists
- 23 July 2026
The deprecated functions ns_printrrf, ns_printrr and fp_nquery in the GNU C Library version 2.2 and newer fail to enforce the caller-supplied buffer length, and can result in an out-of-bounds write when printing TSIG records.
Our coverage
On the lists
- [committed] advisories: Fix up some formatting nits
- [PATCH 2.42 0/7] Cherry-pick CVE-2026-5435 and CVE-2026-6238 fixes to release/2.42/master
- [PATCH 2.41 5/7] resolv: More types as unknown in ns_sprintrrf (CVE-2026-5435)
- [PATCH 2.41 0/7] Cherry-pick CVE-2026-5435 and CVE-2026-6238 fixes to release/2.41/master
- [PATCH 2.40 0/7] Cherry-pick CVE-2026-5435 and CVE-2026-6238 fixes to release/2.40/master
- Re: [PATCH v2 2.39 0/7] Cherry-pick CVE-2026-5435 and CVE-2026-6238 fixes to release/2.39/master