Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-19860

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-19860
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:34 UTC · Revision 1

Source evidence

CVE-2020-19860

core-osv · Original source

Published 21 Jan 2022, 14:15 UTC

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.

osv:CVE-2020-19860
Complete source record
{
  "id": "cd0bfb4d9b0cbb9194cb08912eb6eeac53d3b1f111d401c812656771499a9fbf",
  "url": "https://osv.dev/vulnerability/CVE-2020-19860",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-19860",
    "summary": "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.",
    "evidence": "osv:CVE-2020-19860",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-19860",
      "aliases": [
        "CVE-2020-19860"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nlnetlabs/ldns",
              "type": "GIT",
              "events": [
                {
                  "introduced": "53bc57512c19b11eebc403a4cb2bbf7295eb0db1"
                },
                {
                  "last_affected": "53bc57512c19b11eebc403a4cb2bbf7295eb0db1"
                },
                {
                  "fixed": "15d96206996bea969fbc918eb0a4a346f514b9f3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nlnetlabs:ldns:1.7.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.7.1"
                      },
                      {
                        "last_affected": "1.7.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "15d96206996bea969fbc918eb0a4a346f514b9f3"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.7.1",
            "release-1.7.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-19860.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-19860-191561e2",
                "digest": {
                  "length": 8891,
                  "function_hash": "251941352422954362548173721366397297493"
                },
                "source": "https://github.com/nlnetlabs/ldns/commit/15d96206996bea969fbc918eb0a4a346f514b9f3",
                "target": {
                  "file": "rr.c",
                  "function": "ldns_rr_new_frm_str_internal"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-19860-75361339",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "304150356136728191013666289071051846294",
                    "155677165420181730933934979959893485858",
                    "77135638458978608597762295275407082624",
                    "260965272174818498082687692350980513016",
                    "130518172275200410960406267494341286040",
                    "51273490682426193892898198661893070480",
                    "21702059573567139622621572651513730590",
                    "210984438082497427222760441458755393575",
                    "12078708481039353439108142430185836923",
                    "275043312956904328881478936168966183832",
                    "72408890483878620117238557110253677009"
                  ]
                },
                "source": "https://github.com/nlnetlabs/ldns/commit/15d96206996bea969fbc918eb0a4a346f514b9f3",
                "target": {
                  "file": "rr.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:52:51Z"
          }
        }
      ],
      "modified": "2026-10-20T13:52:51.965790479Z",
      "provider": "osv",
      "references": [
        "https://github.com/NLnetLabs/ldns/issues/50",
        "https://github.com/NLnetLabs/ldns/commit/15d96206996bea969fbc918eb0a4a346f514b9f3"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-19860",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388343,
  "published_at": "2022-01-21T14:15:07.69+00:00"
}