Every CVE Search/ Get API key

CVE-2018-1046

pdns before version 4.1.2 is vulnerable to a buffer overflow in dnsreplay. In the dnsreplay tool...

7.0 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.41%Up 0.7 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 7.0

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.

Record
CVE-2018-1046
CVSS 3.0
7.0 HighCVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-121
Updated
2026-11-02
EUVDEUVD-2018-11702 7.0

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.

Record
EUVD-2018-11702
CVSS 3.0
7.0 HighCVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-622f-mfw7-jxg6 7.8

pdns before version 4.1.2 is vulnerable to a buffer overflow in dnsreplay. In the dnsreplay tool...

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.

Record
GHSA-622f-mfw7-jxg6
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
NVD 7.8

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.

Record
CVE-2018-1046
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.0
7.0 HighCVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
9.3 HighAV:N/AC:M/Au:N/C:C/I:C/A:C
Weakness
CWE-121, CWE-787
Updated
2026-11-02
OSV 7.8

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.

Record
CVE-2018-1046
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-1046 7.8

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.

Record
DEBIAN-CVE-2018-1046
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2018-1046 7.8

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.

Record
UBUNTU-CVE-2018-1046
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.0
7.0 HighCVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.0
7.3 HighCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2018-0255 No score

Updated pdns packages fix security vulnerability

A stack-based buffer overflow in the dnsreplay tool occurring when replaying a specially crafted PCAP file with the --ecs-stamp option enabled, leading to a denial of service or potentially arbitrary code execution (CVE-2018-1046).

Record
MGASA-2018-0255
Updated
2026-11-02
OSVopenSUSE-SU-2018:1462-1 No score

Security update for pdns

pdns was updated to 4.1.2.

Security fixes:

  • Dnsreplay: bail out on a too small outgoing buffer (CVE-2018-1046 bsc#1092540)

Improvements:

  • API: increase serial after dnssec related updates
  • Auth: lower ‘packet too short’ loglevel
  • Make check-zone error on rows that have content but shouldn’t
  • Auth: avoid an isane amount of new backend connections during an axfr
  • Report unparseable data in stoul invalid_argument exception
  • Backport: recheck serial when axfr is done
  • Backport: add tcp support for alias

Bug Fixes:

  • Auth: allocate new statements after reconnecting to postgresql
  • Auth-bindbackend: only compare ips in ismaster() (Kees Monshouwer)
  • Rather than crash, sheepishly report no file/linenum
  • Document undocumented config vars
  • Backport #6276 (auth 4.1.x): prevent cname + other data with dnsupdate

Misc fixes:

  • Move includes around to avoid boost L conflict
  • Backport: update edns option code list
  • Auth: link dnspcap2protobuf against librt when needed
  • Fix a warning on botan >= 2.5.0
  • Auth 4.1.x: unbreak build
Record
openSUSE-SU-2018:1462-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11156-1 No score

pdns-4.5.1-1.5 on GA media

These are all security issues fixed in the pdns-4.5.1-1.5 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11156-1
Updated
2026-11-02
OSVSUSE-SU-2018:1660-1 No score

Security update for pdns

This update for pdns fixes the following issues:

Security issues fixed:

  • CVE-2018-1046: Fix an issue with replaying a specially crafted PCAP file that can trigger a stack-based buffer overflow, leading to a crash and potentially arbitrary code execution (bsc#1092540).
Record
SUSE-SU-2018:1660-1
Updated
2026-11-02
OSVUSN-7203-1 No score

pdns, pdns-recursor vulnerabilities

Wei Hao discovered that PowerDNS Authoritative Server incorrectly handled memory when accessing certain files. An attacker could possibly use this issue to achieve arbitrary code execution. (CVE-2018-1046)

It was discovered that PowerDNS Authoritative Server and PowerDNS Recursor incorrectly handled memory when receiving certain remote input. An attacker could possibly use this issue to cause denial of service. (CVE-2018-10851)

Kees Monshouwer discovered that PowerDNS Authoritative Server and PowerDNS Recursor incorrectly handled request validation after having cached malformed input. An attacker could possibly use this issue to cause denial of service. (CVE-2018-14626)

Toshifumi Sakaguchi discovered that PowerDNS Recursor incorrectly handled requests after having cached malformed input. An attacker could possibly use this issue to cause denial of service. (CVE-2018-14644)

Nathaniel Ferguson discovered that PowerDNS Authoritative Server incorrectly handled memory when receiving certain remote input. An attacker could possibly use this issue to obtain sensitive information. (CVE-2020-17482)

Nicolas Dehaine and Dmitry Shabanov discovered that PowerDNS Authoritative Server and PowerDNS Recursor incorrectly handled IXFR requests in certain circumstances. An attacker could possibly use this issue to cause denial of service. (CVE-2022-27227)

Record
USN-7203-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
pdns
Debian:12
before 4.1.2-1
4.1.2-1
pdns
Debian:13
before 4.1.2-1
4.1.2-1
pdns
Debian:14
before 4.1.2-1
4.1.2-1
pdns
Mageia:6
before 4.1.2-1.mga6
4.1.2-1.mga6
pdns
SUSE:HPE Helion OpenStack 8
before 4.1.2-3.3.1
4.1.2-3.3.1
pdns
SUSE:OpenStack Cloud 8
before 4.1.2-3.3.1
4.1.2-3.3.1
pdns
Ubuntu:Pro:18.04:LTS
before 4.1.1-1ubuntu0.1~esm1, plus listed versions
4.0.4-24.0.4-2build14.0.5-14.1.0-14.1.0-24.1.0-2build14.1.1-1
4.1.1-1ubuntu0.1~esm1
pdns
Ubuntu:Pro:16.04:LTS
before 4.0.0~alpha2-3ubuntu0.1~esm1, plus listed versions
3.4.5-1build23.4.6-23.4.6-33.4.7-13.4.7-2
Show 4 moreShow less
4.0.0~alpha1-14.0.0~alpha2-24.0.0~alpha2-34.0.0~alpha2-3build1
4.0.0~alpha2-3ubuntu0.1~esm1
pdns-recursor
Ubuntu:Pro:16.04:LTS
before 4.0.0~alpha2-2ubuntu0.1+esm1, plus listed versions
3.7.3-14.0.0~alpha1-14.0.0~alpha1-24.0.0~alpha2-24.0.0~alpha2-2ubuntu0.1
4.0.0~alpha2-2ubuntu0.1+esm1
pdns-recursor
Ubuntu:Pro:18.04:LTS
before 4.1.1-2ubuntu0.1~esm1, plus listed versions
4.0.6-14.0.6-1build14.0.7-14.1.1-14.1.1-1build14.1.1-2
4.1.1-2ubuntu0.1~esm1
Show 6 moreShow less
Affected packages
PackageAffectedFixed
pdns
Ubuntu:Pro:20.04:LTS
before 4.2.1-1ubuntu0.1~esm1, plus listed versions
4.1.6-3build14.2.0-14.2.1-14.2.1-1build14.2.1-1build2
4.2.1-1ubuntu0.1~esm1
pdns-recursor
Ubuntu:Pro:20.04:LTS
before 4.2.1-1ubuntu0.1~esm1, plus listed versions
4.2.0-64.2.1-14.2.1-1build14.2.1-1build2
4.2.1-1ubuntu0.1~esm1
pdns
Ubuntu:Pro:22.04:LTS
before 4.5.3-1ubuntu0.1~esm1, plus listed versions
4.4.1-1build14.4.1-34.4.1-44.5.2-1build14.5.3-1
4.5.3-1ubuntu0.1~esm1
pdns-recursor
Ubuntu:Pro:22.04:LTS
before 4.6.0-1ubuntu1+esm1, plus listed versions
4.4.2-34.6.0-1ubuntu1
4.6.0-1ubuntu1+esm1
pdns
SUSE:Package Hub 12 SP1
before 4.1.2-8.1
4.1.2-8.1
pdns
openSUSE:Tumbleweed
before 4.5.1-1.5
4.5.1-1.5

History

History
RecordedChangedSources
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-1046 is a high vulnerability (CVSS 7.0) in [unknown] Pdns, published May 24, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.41%, the 72nd percentile. Fixed in pdns 4.1.2-1.

References

Show 30 moreShow less
MoveEnter Open