Description
Heap-based buffer overflow in the ldns_rr_new_frm_str_internal function in ldns 1.4.x allows remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via a DNS resource record (RR) with a long (1) class field (clas variable) and possibly (2) TTL field.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ldns | 1.5.1-1 | — |
| Debian 13 | ldns | 1.5.1-1 | — |
| Debian 12 | ldns | 1.5.1-1 | — |
| Debian 5.0 | ldns | 1.4.0-1+lenny1 | DSA-1795-1 |
Advisories 1
- DSA-1795-1 ldns - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
References
- 35013 third-party-advisory
- [oss-security] 20090324 CVE id request: ldns mailing-list
- 34233 vdb-entry
- http://www.nlnetlabs.nl/svn/ldns/tags/release-1.5.0/Changelog
- 35065 third-party-advisory
- http://www.nlnetlabs.nl/bugs/show_bug.cgi?id=232
- SUSE-SR:2009:010 vendor-advisory
- DSA-1795 vendor-advisory