Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-19861

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.

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

Source evidence

CVE-2020-19861

core-osv · Original source

Published 21 Jan 2022, 15:15 UTC

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.

osv:CVE-2020-19861
Complete source record
{
  "id": "1fb9a815ce6b687734b2d0707b3ba99629e0db3fdf94602cf8b6f3a97f98f786",
  "url": "https://osv.dev/vulnerability/CVE-2020-19861",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-19861",
    "summary": "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.",
    "evidence": "osv:CVE-2020-19861",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-19861",
      "aliases": [
        "CVE-2020-19861"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nlnetlabs/ldns",
              "type": "GIT",
              "events": [
                {
                  "introduced": "53bc57512c19b11eebc403a4cb2bbf7295eb0db1"
                },
                {
                  "last_affected": "53bc57512c19b11eebc403a4cb2bbf7295eb0db1"
                }
              ],
              "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"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.7.1",
            "release-1.7.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-19861.json"
          }
        }
      ],
      "modified": "2026-10-20T10:52:07.557176338Z",
      "provider": "osv",
      "references": [
        "https://cwe.mitre.org/data/definitions/126.html",
        "https://github.com/NLnetLabs/ldns/issues/51"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-19861",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 383351,
  "published_at": "2022-01-21T15:15:07.607+00:00"
}