# CVE-2020-19860: ldns: When ldns version 1.7.1 verifies a zone file, the ldns_rr_new_frm_str_internal function has a heap out of bounds read...

CVE-2020-19860 is fixed in 6 products on 1 platform, first by ldnsutils 1.7.0-3ubuntu4.1, released January 21, 2022. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2020-19860
- Priority: Routine
- CVSS: 6.5 (medium)
- EPSS: 0.0122
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 21, 2022

## Description

When ldns version 1.7.1 verifies a zone file, the ldns_rr_new_frm_str_internal function has a heap out of bounds read vulnerability. An attacker can leak information on the heap by constructing a zone file payload.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ldns Debian 12.15 (bookworm) | 1.8.1-1 | [DEBIAN-CVE-2020-19860](https://patchblox.com/security/data/fix/linux/debian-cve-2020-19860.md) | Jan 21, 2022 |
| Linux | ldns Debian 13.5 (trixie) | 1.8.1-1 | [DEBIAN-CVE-2020-19860](https://patchblox.com/security/data/fix/linux/debian-cve-2020-19860.md) | Jan 21, 2022 |
| Linux | ldns Debian 14 | 1.8.1-1 | [DEBIAN-CVE-2020-19860](https://patchblox.com/security/data/fix/linux/debian-cve-2020-19860.md) | Jan 21, 2022 |
| Linux | ldnsutils Ubuntu 18.04.6 LTS (bionic) | 1.7.0-3ubuntu4.1 | [ldnsutils 1.7.0-3ubuntu4.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ldnsutils-1.7.0-3ubuntu4.1.md) | Jan 21, 2022 |
| Linux | ldnsutils Ubuntu 20.04 LTS (focal) | 1.7.0-4.1ubuntu1+esm1 | [ldnsutils 1.7.0-4.1ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ldnsutils-1.7.0-4.1ubuntu1-esm1.md) | Jan 21, 2022 |
| Linux | ldnsutils Ubuntu 22.04.1 LTS (jammy) | 1.7.1-2ubuntu4+esm1 | [ldnsutils 1.7.1-2ubuntu4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ldnsutils-1.7.1-2ubuntu4-esm1.md) | Jan 21, 2022 |
| Linux | libldns2 Ubuntu 18.04.6 LTS (bionic) | 1.7.0-3ubuntu4.1 | [libldns2 1.7.0-3ubuntu4.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libldns2-1.7.0-3ubuntu4.1.md) | Jan 21, 2022 |
| Linux | libldns2 Ubuntu 20.04 LTS (focal) | 1.7.0-4.1ubuntu1+esm1 | [libldns2 1.7.0-4.1ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libldns2-1.7.0-4.1ubuntu1-esm1.md) | Jan 21, 2022 |
| Linux | libldns3 Ubuntu 22.04.1 LTS (jammy) | 1.7.1-2ubuntu4+esm1 | [libldns3 1.7.1-2ubuntu4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libldns3-1.7.1-2ubuntu4-esm1.md) | Jan 21, 2022 |
| Linux | python-ldns Ubuntu 18.04.6 LTS (bionic) | 1.7.0-3ubuntu4.1 | [python-ldns 1.7.0-3ubuntu4.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-ldns-1.7.0-3ubuntu4.1.md) | Jan 21, 2022 |
| Linux | python-ldns Ubuntu 20.04 LTS (focal) | 1.7.0-4.1ubuntu1+esm1 | [python-ldns 1.7.0-4.1ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python-ldns-1.7.0-4.1ubuntu1-esm1.md) | Jan 21, 2022 |
| Linux | python3-ldns Ubuntu 18.04.6 LTS (bionic) | 1.7.0-3ubuntu4.1 | [python3-ldns 1.7.0-3ubuntu4.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-ldns-1.7.0-3ubuntu4.1.md) | Jan 21, 2022 |
| Linux | python3-ldns Ubuntu 20.04 LTS (focal) | 1.7.0-4.1ubuntu1+esm1 | [python3-ldns 1.7.0-4.1ubuntu1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-ldns-1.7.0-4.1ubuntu1-esm1.md) | Jan 21, 2022 |
| Linux | python3-ldns Ubuntu 22.04.1 LTS (jammy) | 1.7.1-2ubuntu4+esm1 | [python3-ldns 1.7.1-2ubuntu4+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-ldns-1.7.1-2ubuntu4-esm1.md) | Jan 21, 2022 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
