CVE-2026-42387

Source
https://cve.org/CVERecord?id=CVE-2026-42387
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42387.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-42387
Downstream
Published
2026-06-25T12:59:16.813Z
Modified
2026-07-15T15:56:18.596487Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Insufficient input validation in ZoneToCache
Details

A malicious authoritative server can send a crafted zone via the ZoneToCache function that leads to a crash of the Recursor due to insuffcient input validation.

Database specific
{
    "cna_assigner": "OX",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42387.json"
}
References

Affected packages

Git / github.com/powerdns/pdns

Affected ranges

Type
GIT
Repo
https://github.com/powerdns/pdns
Events
Database specific
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "5.2.0"
        },
        {
            "fixed": "5.2.11"
        },
        {
            "introduced": "5.3.0"
        },
        {
            "fixed": "5.3.8"
        },
        {
            "introduced": "5.4.0"
        },
        {
            "fixed": "5.4.3"
        }
    ]
}

Affected versions

rec-5.*
rec-5.2.0
rec-5.2.10
rec-5.2.2
rec-5.2.4
rec-5.2.5
rec-5.2.6
rec-5.2.8
rec-5.3.0
rec-5.3.1
rec-5.3.4
rec-5.3.7
rec-5.4.0
rec-5.4.0-rc1
rec-5.4.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42387.json"
vanir_signatures
[
    {
        "id": "CVE-2026-42387-09590c27",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/powerdns/pdns/commit/b2f7567b5e2ba8d13ea0bf5c8ecd47ee2db14330",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "215413155281402926560834447880642574593",
                "314272552250244648567858200824068156160",
                "254546730563956205117486205788166146028",
                "128063049265375810574434524958835793185",
                "51075072797667112938322960446173147917",
                "1769984556611710233346913634038737002",
                "120133930855658610965004980948818375267",
                "126102207894564060240255718651762163470",
                "147386961934458703471621645482809402359",
                "164795306008441146365693274181779490437"
            ]
        },
        "target": {
            "file": "pdns/recursordist/syncres.cc"
        }
    },
    {
        "id": "CVE-2026-42387-42058b19",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/powerdns/pdns/commit/8565b266486a2c347f57985dc7dd704e41c7e1cf",
        "deprecated": false,
        "digest": {
            "function_hash": "175905571297022484819797437345790495302",
            "length": 6030.0
        },
        "target": {
            "function": "feed",
            "file": "ext/yahttp/yahttp/reqresp.cpp"
        }
    },
    {
        "id": "CVE-2026-42387-9363d976",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/powerdns/pdns/commit/9f875a6231f22b189c3f03a3c97a910079c47115",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "71329078264894497200496962563892013914",
                "314272552250244648567858200824068156160",
                "254546730563956205117486205788166146028",
                "128063049265375810574434524958835793185",
                "51075072797667112938322960446173147917",
                "1769984556611710233346913634038737002",
                "120133930855658610965004980948818375267",
                "126102207894564060240255718651762163470",
                "147386961934458703471621645482809402359",
                "164795306008441146365693274181779490437"
            ]
        },
        "target": {
            "file": "pdns/recursordist/syncres.cc"
        }
    },
    {
        "id": "CVE-2026-42387-b764cca3",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/powerdns/pdns/commit/8565b266486a2c347f57985dc7dd704e41c7e1cf",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "146073261330685155030523374299187221356",
                "139999140489202660150035160998558678530",
                "260398486233326308600521181399778936346",
                "178066237530059398734757326132960946649"
            ]
        },
        "target": {
            "file": "ext/yahttp/yahttp/reqresp.cpp"
        }
    }
]
vanir_signatures_modified
"2026-07-15T15:56:18Z"