{"id":"CVE-2026-42387","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.","modified":"2026-07-15T15:56:18.596487Z","published":"2026-06-25T12:59:16.813Z","database_specific":{"cna_assigner":"OX","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42387.json"},"references":[{"type":"WEB","url":"https://repo.powerdns.com/"},{"type":"ADVISORY","url":"https://docs.powerdns.com/recursor/security-advisories/powerdns-advisory-powerdns-2026-08.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42387.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42387"},{"type":"PACKAGE","url":"https://github.com/PowerDNS/pdns"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/powerdns/pdns","events":[{"introduced":"544037cd123e8662877b5dc0b7963f5a094a2faf"},{"fixed":"8565b266486a2c347f57985dc7dd704e41c7e1cf"},{"introduced":"ff33413345dc6a826ff0f37f0c78cd60cdf15689"},{"fixed":"b2f7567b5e2ba8d13ea0bf5c8ecd47ee2db14330"},{"introduced":"c95adbda8ce519923dfdbe7947d82a2692e18af9"},{"fixed":"9f875a6231f22b189c3f03a3c97a910079c47115"}],"database_specific":{"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"}],"source":"AFFECTED_FIELD"}}],"versions":["rec-5.2.10","rec-5.3.7","rec-5.4.2","rec-5.4.0-rc1","rec-5.4.0","rec-5.2.8","rec-5.3.4","rec-5.3.1","rec-5.2.6","rec-5.2.5","rec-5.3.0","rec-5.2.4","rec-5.2.2","rec-5.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42387.json","vanir_signatures_modified":"2026-07-15T15:56:18Z","vanir_signatures":[{"source":"https://github.com/powerdns/pdns/commit/b2f7567b5e2ba8d13ea0bf5c8ecd47ee2db14330","target":{"file":"pdns/recursordist/syncres.cc"},"deprecated":false,"digest":{"line_hashes":["215413155281402926560834447880642574593","314272552250244648567858200824068156160","254546730563956205117486205788166146028","128063049265375810574434524958835793185","51075072797667112938322960446173147917","1769984556611710233346913634038737002","120133930855658610965004980948818375267","126102207894564060240255718651762163470","147386961934458703471621645482809402359","164795306008441146365693274181779490437"],"threshold":0.9},"id":"CVE-2026-42387-09590c27","signature_type":"Line","signature_version":"v1"},{"signature_version":"v1","source":"https://github.com/powerdns/pdns/commit/8565b266486a2c347f57985dc7dd704e41c7e1cf","target":{"file":"ext/yahttp/yahttp/reqresp.cpp","function":"feed"},"deprecated":false,"digest":{"function_hash":"175905571297022484819797437345790495302","length":6030},"id":"CVE-2026-42387-42058b19","signature_type":"Function"},{"digest":{"threshold":0.9,"line_hashes":["71329078264894497200496962563892013914","314272552250244648567858200824068156160","254546730563956205117486205788166146028","128063049265375810574434524958835793185","51075072797667112938322960446173147917","1769984556611710233346913634038737002","120133930855658610965004980948818375267","126102207894564060240255718651762163470","147386961934458703471621645482809402359","164795306008441146365693274181779490437"]},"id":"CVE-2026-42387-9363d976","signature_type":"Line","signature_version":"v1","source":"https://github.com/powerdns/pdns/commit/9f875a6231f22b189c3f03a3c97a910079c47115","target":{"file":"pdns/recursordist/syncres.cc"},"deprecated":false},{"signature_version":"v1","source":"https://github.com/powerdns/pdns/commit/8565b266486a2c347f57985dc7dd704e41c7e1cf","target":{"file":"ext/yahttp/yahttp/reqresp.cpp"},"deprecated":false,"digest":{"line_hashes":["146073261330685155030523374299187221356","139999140489202660150035160998558678530","260398486233326308600521181399778936346","178066237530059398734757326132960946649"],"threshold":0.9},"id":"CVE-2026-42387-b764cca3","signature_type":"Line"}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}