Every CVE Search/ Get API key

CVE-2020-19861

When a zone file in ldns 1.7.1 is parsed, the function ldns_nsec3_salt_data is too trusted for...

7.5 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

1.49%Up 1.1 points since Jan 22, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2020-19861
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-125
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2020-19861
Updated
2026-11-02
EUVDEUVD-2020-11757 No score

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.

Record
EUVD-2020-11757
Updated
2026-11-03
GitHub AdvisoriesGHSA-fhv5-v23r-vj74 7.5

When a zone file in ldns 1.7.1 is parsed, the function ldns_nsec3_salt_data is too trusted for...

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.

Record
GHSA-fhv5-v23r-vj74
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-120, CWE-125
Updated
2026-11-02
OSV 7.5

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.

Record
CVE-2020-19861
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2020-19861 7.5

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.

Record
DEBIAN-CVE-2020-19861
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2020-19861 7.5

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.

Record
UBUNTU-CVE-2020-19861
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVopenSUSE-SU-2022:0675-1 No score

Security update for ldns

This update for ldns fixes the following issues:

  • CVE-2020-19860: Fixed heap-based out of bounds read when verifying a zone file (bsc#1195057).
  • CVE-2020-19861: Fixed heap-based out of bounds read in ldns_nsec3_salt_data() (bsc#1195058).
Record
openSUSE-SU-2022:0675-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11802-1 No score

ldns-1.8.1-1.1 on GA media

These are all security issues fixed in the ldns-1.8.1-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11802-1
Updated
2026-11-02
OSVSUSE-SU-2022:0675-1 No score

Security update for ldns

This update for ldns fixes the following issues:

  • CVE-2020-19860: Fixed heap-based out of bounds read when verifying a zone file (bsc#1195057).
  • CVE-2020-19861: Fixed heap-based out of bounds read in ldns_nsec3_salt_data() (bsc#1195058).
Record
SUSE-SU-2022:0675-1
Updated
2026-11-02
OSVUSN-5257-1 No score

ldns vulnerabilities

It was discovered that ldns incorrectly handled certain inputs. An attacker could possibly use this issue to expose sensitive information. (CVE-2020-19860, CVE-2020-19861)

Record
USN-5257-1
Updated
2026-11-02
OSVUSN-5257-2 No score

ldns vulnerabilities

USN-5257-1 fixed several vulnerabilities in ldns. This update provides the corresponding update for Ubuntu 20.04 ESM and Ubuntu 22.04 ESM.

Original advisory details:

It was discovered that ldns incorrectly handled certain inputs. An attacker could possibly use this issue to expose sensitive information. (CVE-2020-19860, CVE-2020-19861)

Record
USN-5257-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
ldns
Debian:12
before 1.8.1-1
1.8.1-1
ldns
Debian:13
before 1.8.1-1
1.8.1-1
ldns
Debian:14
before 1.8.1-1
1.8.1-1
ldns
Debian:9
From an advisory covering 4 CVEs
before 1.7.0-1+deb9u1, plus listed versions
1.7.0-1
1.7.0-1+deb9u1
ldns
SUSE:Linux Enterprise Module for Basesystem 15 SP3
From an advisory covering 2 CVEs
before 1.7.0-4.6.1
1.7.0-4.6.1
ldns
SUSE:Linux Enterprise Module for Development Tools 15 SP3
From an advisory covering 2 CVEs
before 1.7.0-4.6.1
1.7.0-4.6.1
ldns
SUSE:Linux Enterprise Real Time 15 SP2
From an advisory covering 2 CVEs
before 1.7.0-4.6.1
1.7.0-4.6.1
ldns
Ubuntu:Pro:16.04:LTS
before 1.6.17-8ubuntu0.1+esm1, plus listed versions
1.6.17-51.6.17-71.6.17-81.6.17-8ubuntu0.1
1.6.17-8ubuntu0.1+esm1
ldns
Ubuntu:18.04:LTS
before 1.7.0-3ubuntu4.1, plus listed versions
1.7.0-1ubuntu11.7.0-3ubuntu11.7.0-3ubuntu21.7.0-3ubuntu4
1.7.0-3ubuntu4.1
ldns
Ubuntu:Pro:20.04:LTS
before 1.7.0-4.1ubuntu1+esm1, plus listed versions
1.7.0-3ubuntu81.7.0-41.7.0-4ubuntu11.7.0-4.1ubuntu1
1.7.0-4.1ubuntu1+esm1
Show 7 moreShow less
Affected packages
PackageAffectedFixed
ldns
Ubuntu:Pro:22.04:LTS
before 1.7.1-2ubuntu4+esm1, plus listed versions
1.7.1-2build11.7.1-2ubuntu11.7.1-2ubuntu31.7.1-2ubuntu4
1.7.1-2ubuntu4+esm1
ldns
Ubuntu:Pro:16.04:LTS
From an advisory covering 2 CVEs
before 1.6.17-8ubuntu0.1+esm1, plus listed versions
1.6.17-51.6.17-71.6.17-81.6.17-8ubuntu0.1
1.6.17-8ubuntu0.1+esm1
ldns
Ubuntu:18.04:LTS
From an advisory covering 2 CVEs
before 1.7.0-3ubuntu4.1, plus listed versions
1.7.0-1ubuntu11.7.0-3ubuntu11.7.0-3ubuntu21.7.0-3ubuntu4
1.7.0-3ubuntu4.1
ldns
Ubuntu:Pro:20.04:LTS
From an advisory covering 2 CVEs
before 1.7.0-4.1ubuntu1+esm1, plus listed versions
1.7.0-3ubuntu81.7.0-41.7.0-4ubuntu11.7.0-4.1ubuntu1
1.7.0-4.1ubuntu1+esm1
ldns
Ubuntu:Pro:22.04:LTS
From an advisory covering 2 CVEs
before 1.7.1-2ubuntu4+esm1, plus listed versions
1.7.1-2build11.7.1-2ubuntu11.7.1-2ubuntu31.7.1-2ubuntu4
1.7.1-2ubuntu4+esm1
ldns
openSUSE:Leap 15.3
From an advisory covering 2 CVEs
before 1.7.0-4.6.1
1.7.0-4.6.1
ldns
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 1.8.1-1.1
1.8.1-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-19861 is a high vulnerability (CVSS 7.5) in Nlnetlabs Ldns, published January 21, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.49%, the 74th percentile. Fixed in ldns 1.8.1-1.

References

Show 11 moreShow less
MoveEnter Open