pdns — security advisory
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.
- Products
- pdns
- Affected versions
- Not specified
- Fixed versions
- 4.1.2-1
- CVEs
- CVE-2018-1046
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:04 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2018-1046
pdns
Fixed versions: 4.1.2-1
pdns
Fixed versions: 4.1.2-1
pdns
Fixed versions: 4.1.2-1
Complete source record
{
"id": "1a5f945622db890d4227ca7fb566d45718e830e86b7ec6df4013d3b3f89d1aff",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-1046",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2018-1046",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2018-1046",
"products": [
{
"name": {
"value": "pdns",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.1.2-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "pdns",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.1.2-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "pdns",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.1.2-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2018-1046",
"aliases": [
"DEBIAN-CVE-2018-1046"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.1.2-1"
}
]
}
],
"package": {
"name": "pdns",
"purl": "pkg:deb/debian/pdns?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-1046.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.1.2-1"
}
]
}
],
"package": {
"name": "pdns",
"purl": "pkg:deb/debian/pdns?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-1046.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.1.2-1"
}
]
}
],
"package": {
"name": "pdns",
"purl": "pkg:deb/debian/pdns?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-1046.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:02:56.327727690Z",
"provider": "osv",
"upstream": [
"CVE-2018-1046"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2018-1046"
]
},
"related_cves": [
{
"value": "CVE-2018-1046",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 419863,
"published_at": "2018-07-16T20:29:00.317+00:00"
}