CVE & CISA-KEV Catalog

CVE-2018-1046

HIGH
7.8
CVSS v3
NVD

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.

How to fix

Remediation Available
pdnsDebian
Fixed in:4.1.2-1CVE-2018-1046
Fixed in:4.1.2-1CVE-2018-1046
Fixed in:4.1.2-1CVE-2018-1046
Fixed in:4.1.2-1CVE-2018-1046
pdnsUbuntu
Fixed in:4.0.0~alpha2-3ubuntu0.1~esm1USN-7203-1
Fixed in:4.1.1-1ubuntu0.1~esm1USN-7203-1
Fixed in:4.2.1-1ubuntu0.1~esm1USN-7203-1
Fixed in:4.5.3-1ubuntu0.1~esm1USN-7203-1
pdns-recursorUbuntu
Fixed in:4.0.0~alpha2-2ubuntu0.1+esm1USN-7203-1
Fixed in:4.1.1-2ubuntu0.1~esm1USN-7203-1
Fixed in:4.2.1-1ubuntu0.1~esm1USN-7203-1
Fixed in:4.6.0-1ubuntu1+esm1USN-7203-1
pdns-serverUbuntu
Fixed in:4.0.0~alpha2-3ubuntu0.1~esm1USN-7203-1
Fixed in:4.1.1-1ubuntu0.1~esm1USN-7203-1
Fixed in:4.2.1-1ubuntu0.1~esm1USN-7203-1
Fixed in:4.5.3-1ubuntu0.1~esm1USN-7203-1
pdns-toolsUbuntu
Fixed in:4.0.0~alpha2-3ubuntu0.1~esm1USN-7203-1
Fixed in:4.1.1-1ubuntu0.1~esm1USN-7203-1
Fixed in:4.2.1-1ubuntu0.1~esm1USN-7203-1
Fixed in:4.5.3-1ubuntu0.1~esm1USN-7203-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploit Intelligence

1.41%probability of exploitation in 30 days
69thpercentile

Moderate risk: more likely to be exploited than 69% of all known CVEs.

References

Related Vulnerabilities

Other CWE-121 (Stack-based Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-22457Critical9.0100%KEV + RansomFix
CVE-2025-0282Critical9.0100%KEV + Ransom-
CVE-2021-20038Critical9.8100%KEV + Ransom-
CVE-2009-0927High8.897%KEVFix
CVE-2020-10924High8.887%--
CVE-2022-20705Critical10.080%--
Embed a live status badge for CVE-2018-1046
CVE-2018-1046 severity badge

Markdown

[![CVE-2018-1046](https://tridentstack.com/cve/badge/CVE-2018-1046.svg)](https://tridentstack.com/cve/CVE-2018-1046)

HTML

<a href="https://tridentstack.com/cve/CVE-2018-1046"><img src="https://tridentstack.com/cve/badge/CVE-2018-1046.svg" alt="CVE-2018-1046"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.