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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| [UNKNOWN] | pdns | pdns 4.1.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pdns | 4.1.2-1 | — |
| Debian 13 | pdns | 4.1.2-1 | — |
| Debian 12 | pdns | 4.1.2-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | pdns | 4.5.3-1ubuntu0.1~esm1 | USN-7203-1 |
| Ubuntu Pro 22.04 LTS | pdns-recursor | 4.6.0-1ubuntu1+esm1 | USN-7203-1 |
| Ubuntu Pro 20.04 LTS | pdns +1 | 4.2.1-1ubuntu0.1~esm1 | USN-7203-1 |
| Ubuntu Pro 18.04 LTS | pdns | 4.1.1-1ubuntu0.1~esm1 | USN-7203-1 |
| Ubuntu Pro 18.04 LTS | pdns-recursor | 4.1.1-2ubuntu0.1~esm1 | USN-7203-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | pdns | 4.0.0~alpha2-3ubuntu0.1~esm1 | USN-7203-1 |
| Ubuntu Pro 16.04 LTS | pdns-recursor | 4.0.0~alpha2-2ubuntu0.1+esm1 | USN-7203-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 12 SP1 | pdns | 4.1.2-8.1 | openSUSE-SU-2018:1462-1 |
| SUSE OpenStack Cloud 8 | pdns | 4.1.2-3.3.1 | SUSE-SU-2018:1660-1 |
| SUSE HPE Helion OpenStack 8 | pdns | 4.1.2-3.3.1 | SUSE-SU-2018:1660-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | pdns | 4.5.1-1.5 | openSUSE-SU-2024:11156-1 |
Advisories 5
- USN-7203-1 pdns, pdns-recursor vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- openSUSE-SU-2024:11156-1 pdns-4.5.1-1.5 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:1660-1 Security update for pdns SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2018:1462-1 Security update for pdns SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-0060 PowerDNS: Schwachstelle ermöglicht Ausführen von beliebigem Programmcode mit den Rechten des Dienstes BSI CERT-Bund (WID) · Jan 14, 2025