What’s Vulnerable › Vulnerabilities
CVE-2018-1046
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-07-16 · updated 2026-06-17
- Weakness: CWE-121
Description
pdns before version 4.1.2 is vulnerable to a buffer overflow in dnsreplay. In the dnsreplay tool provided with PowerDNS Authoritative, replaying a specially crafted PCAP file can trigger a stack-based buffer overflow, leading to a crash and potentially arbitrary code execution. This buffer overflow only occurs when the -ecs-stamp option of dnsreplay is used.
Affected products
- The PowerDNS Project pdns: before 4.1.2 — fixed in 4.1.2
How to fix
Upgrade to a fixed version: The PowerDNS Project pdns 4.1.2. Check the vendor advisory for mitigations.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1046
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1046
Get alerted when CVE-2018-1046 or the next vulnerability affects your stack