CWE
787 121 119
Advisory Published
Updated

CVE-2018-1046: Buffer Overflow

First published: Mon Jul 16 2018(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Powerdns Pdns<4.1.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2018-1046?

    CVE-2018-1046 is a vulnerability in pdns before version 4.1.2 that allows for a buffer overflow in dnsreplay.

  • How does CVE-2018-1046 impact PowerDNS?

    CVE-2018-1046 can lead to a stack-based buffer overflow in the dnsreplay tool provided with PowerDNS, resulting in a crash and potentially arbitrary code execution.

  • What software versions are affected by CVE-2018-1046?

    Software versions of PowerDNS (pdns) up to but excluding version 4.1.2 are affected by CVE-2018-1046.

  • What is the severity rating of CVE-2018-1046?

    CVE-2018-1046 has a severity rating of 7.8 (Critical).

  • How can CVE-2018-1046 be fixed?

    To fix CVE-2018-1046, upgrade PowerDNS (pdns) to version 4.1.2 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203