Description
When a zone file in ldns 1.7.1 is parsed, the function ldns_nsec3_salt_data is too trusted for the length value obtained from the zone file. When the memcpy is copied, the 0xfe - ldns_rdf_size(salt_rdf) byte data can be copied, causing heap overflow information leakage.
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.8.1-1 | — |
| Debian 13 | ldns | 1.8.1-1 | — |
| Debian 12 | ldns | 1.8.1-1 | — |
| Debian 9 | ldns | 1.7.0-1+deb9u1 | DLA-2910-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | ldns | 1.7.0-3ubuntu4.1 | USN-5257-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | ldns | 1.7.1-2ubuntu4+esm1 | USN-5257-2 |
| Ubuntu Pro 20.04 LTS | ldns | 1.7.0-4.1ubuntu1+esm1 | USN-5257-2 |
| Ubuntu Pro 16.04 LTS | ldns | 1.6.17-8ubuntu0.1+esm1 | USN-5257-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | ldns | 1.7.0-4.6.1 | SUSE-SU-2022:0675-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Real Time 15 SP2 | ldns | 1.7.0-4.6.1 | SUSE-SU-2022:0675-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ldns | 1.8.1-1.1 | openSUSE-SU-2024:11802-1 |
| openSUSE Leap 15.3 | ldns | 1.7.0-4.6.1 | openSUSE-SU-2022:0675-1 |
Advisories 6
- USN-5257-1 ldns vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-5257-2 ldns vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-2910-1 ldns - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2022:0675-1 Security update for ldns SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11802-1 ldns-1.8.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0675-1 Security update for ldns SUSE / openSUSE Security Updates · Feb 4, 2026