Vulnerability record · CVE-2018-16855 · published 3 December 2018
CVE-2018-16855: PowerDNS Recursor out-of-bounds read in query hash crashes resolver
Powerdns · Recursor
PowerDNS Recursor before 4.1.8 performs an out-of-bounds memory read while hashing a DNS query for packet cache lookup. A remote attacker can trigger it with a crafted query, and the read can crash the recursor. Because the recursor is the component that answers client DNS queries, a crash takes name resolution down for everything relying on it.
Description
An issue has been found in PowerDNS Recursor before version 4.1.8 where a remote attacker sending a DNS query can trigger an out-of-bounds memory read while computing the hash of the query for a packet cache lookup, possibly leading to a crash.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Automated analysis
high priorityRemote, unauthenticated denial of service against a core DNS service with a high EPSS score, though no confirmed in-the-wild exploitation is recorded.
What it is
PowerDNS Recursor before 4.1.8 performs an out-of-bounds memory read while hashing a DNS query for packet cache lookup. A remote attacker can trigger it with a crafted query, and the read can crash the recursor. Because the recursor is the component that answers client DNS queries, a crash takes name resolution down for everything relying on it.
Impact
An attacker gains denial of service: the recursor process can crash, interrupting DNS resolution for all clients using it. The flaw is an out-of-bounds read, so no data disclosure or code execution is described in the record.
Attack surface
Reachable over the network by sending a DNS query to the recursor; the CVSS vector shows no privileges and no user interaction required. No authentication is needed, so any host that can reach the recursor's DNS port can attempt it.
Exploitation
Not listed in CISA KEV and no public exploit or exploitation tag appears in the references, but EPSS is high (0.59469, 99th percentile), indicating elevated predicted likelihood of exploitation activity.
What to do
- Upgrade PowerDNS Recursor to 4.1.8 or later, per the vendor advisory.
- If immediate upgrade is not possible, restrict DNS service access to trusted client networks and block recursion from untrusted sources.
- Run the recursor under a supervisor or systemd with automatic restart to limit outage duration from a crash.
- Monitor the vendor advisory and distribution packages for backported fixes and apply them.
- Reduce exposure by placing recursors behind ACLs or rate limiting so arbitrary internet hosts cannot send queries directly.
Detection
- Alert on recursor process crashes, core dumps, or unexpected restarts in systemd/journal or crash logs.
- Monitor for sudden drops or gaps in DNS query/response volume from a recursor instance.
- Watch for bursts of malformed or unusual DNS queries directed at recursor hosts from single sources.
- Track recursor version inventory to find instances still below 4.1.8.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16855 | Issue TrackingThird Party Advisory |
| https://docs.powerdns.com/recursor/security-advisories/powerdns-advisory-2018-09.html | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16855 | Issue TrackingThird Party Advisory |
| https://docs.powerdns.com/recursor/security-advisories/powerdns-advisory-2018-09.html | Vendor Advisory |
Track CVE-2018-16855 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2018-16855), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.