cve.bz

CVE-2018-1046 powerdns pdns: Out-of-bounds Write

7.8 highEPSS 1.4%Fix available

High (7.8) in powerdns pdns. EPSS 1.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 73rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-787 Out-of-bounds Write
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-1046 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1046?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1046?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1046 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
powerdns:pdnsbefore 4.1.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14pdns4.1.2-1DEBIAN-CVE-2018-1046
UbuntuPro:16.04:LTSpdns4.0.0~alpha2-3ubuntu0.1~esm1USN-7203-1
UbuntuPro:16.04:LTSpdns-recursor4.0.0~alpha2-2ubuntu0.1+esm1USN-7203-1
UbuntuPro:18.04:LTSpdns4.1.1-1ubuntu0.1~esm1UBUNTU-CVE-2018-1046 USN-7203-1
UbuntuPro:18.04:LTSpdns-recursor4.1.1-2ubuntu0.1~esm1USN-7203-1
UbuntuPro:20.04:LTSpdns, pdns-recursor4.2.1-1ubuntu0.1~esm1USN-7203-1
UbuntuPro:22.04:LTSpdns4.5.3-1ubuntu0.1~esm1USN-7203-1
UbuntuPro:22.04:LTSpdns-recursor4.6.0-1ubuntu1+esm1USN-7203-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8pdns4.1.2-3.3.1SUSE-SU-2018:1660-1
SUSEPackage Hub 12 SP1pdns4.1.2-8.1openSUSE-SU-2018:1462-1
openSUSETumbleweedpdns4.5.1-1.5openSUSE-SU-2024:11156-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

References

Check your stackJSON