# CVE-2020-19861: When a zone file in ldns 1.7.1 is parsed, the function ldnsnsec3saltdata is too trusted for the length value obtained from the zone file.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.54%, higher than 75% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-21T14:22:16.000Z
- Modified: 2026-06-17T02:59:59.303Z
- Weaknesses: CWE-125
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- nlnetlabs ldns: 1.7.1

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/NLnetLabs/ldns/issues/51> (exploit, issue-tracking, third-party-advisory)
- <https://cwe.mitre.org/data/definitions/126.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2020-19861](https://www.cve.org/CVERecord?id=CVE-2020-19861), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-19861](https://nvd.nist.gov/vuln/detail/CVE-2020-19861), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-19861 · Whole record: https://cve.day/CVE-2020-19861.json · Rebuilt by cve.day 2026-11-25T22:57:58.593Z
