Don’t let overlooked obligations become incidents. Learn how.
Utility navigation bar redirect icon
Portal LoginSupportContact
Search
Close search
Huntress Logo in Teal
  • Platform Overview
    Managed EDR

    Get full endpoint visibility, detection, and response.

    Managed EDR

    Get full endpoint visibility, detection, and response.

    Managed ITDR

    Protect your Microsoft 365 and Google Workspace identities and email environments.

    Managed ITDR

    Protect your Microsoft 365 and Google Workspace identities and email environments.

    Managed SIEM

    Managed threat response and robust compliance support at a predictable price.

    Managed SIEM

    Managed threat response and robust compliance support at a predictable price.

    Managed Security Awareness Training

    Empower your teams with science-backed security awareness training.

    Managed Security Awareness Training

    Empower your teams with science-backed security awareness training.

    Managed ISPM

    Continuous Microsoft 365 and identity hardening, managed and enforced by Huntress experts.

    Managed ISPM

    Continuous Microsoft 365 and identity hardening, managed and enforced by Huntress experts.

    Managed ESPM

    Proactively secure endpoints against attacks.

    Managed ESPM

    Proactively secure endpoints against attacks.

    Integrations
    Integrations
    Support Documentation
    Support Documentation
    See Huntress in Action

    Quickly deploy and manage real-time protection for endpoints, email, and employees - all from a single dashboard.

    Huntress Cybersecurity
    See Huntress in Action

    Quickly deploy and manage real-time protection for endpoints, email, and employees - all from a single dashboard.

    Huntress Cybersecurity
  • Threats We Stop
    Phishing
    Phishing
    Business Email Compromise
    Business Email Compromise
    Ransomware
    Ransomware
    Infostealers
    Infostealers
    View Allright arrowView Allright arrow
    Industries We Serve
    Education
    Education
    Financial Services
    Financial Services
    State and Local Government
    State and Local Government
    Healthcare
    Healthcare
    Law Firms
    Law Firms
    Manufacturing
    Manufacturing
    Utilities
    Utilities
    View Allright arrowView Allright arrow
    Tailored Solutions
    MSPs
    MSPs
    Resellers
    Resellers
    SMBs
    SMBs
    Compliance
    Compliance
    What Gets Overlooked Gets Exploited

    Most days, nothing happens. But one day, something will.

    Huntress Cybersecurity
    Cybercriminals Have Evolved

    Get the intel on today’s cybercriminal groups and learn how to protect yourself.

    Huntress Cybersecurity
  • Pricing
  • Community Series
    The Product Lab

    Shape the next big thing in cybersecurity together.

    The Product Lab

    Shape the next big thing in cybersecurity together.

    Fireside Chat

    Real people. Real perspectives. Better conversations.

    Fireside Chat

    Real people. Real perspectives. Better conversations.

    Tradecraft Tuesday

    No products, no pitches – just tradecraft.

    Tradecraft Tuesday

    No products, no pitches – just tradecraft.

    _declassified

    Exposing hidden truths in the world of cybersecurity.

    _declassified

    Exposing hidden truths in the world of cybersecurity.

    Resources
    Upcoming Events
    Upcoming Events
    Ebooks
    Ebooks
    On-Demand Webinars
    On-Demand Webinars
    Videos
    Videos
    Whitepapers
    Whitepapers
    Datasheets
    Datasheets
    Cybersecurity Education
    Cybersecurity 101
    Cybersecurity 101
    Cybersecurity Guides
    Cybersecurity Guides
    Threat Library
    Threat Library
    Real Tradecraft, Real Results
    Real Tradecraft, Real Results
    2026 Cyber Threat Report
    2026 Cyber Threat Report
    The Huntress Blog
    Huntress Lands on the Microsoft Marketplace
    Huntress Cybersecurity
    Huntress Lands on the Microsoft Marketplace
    Huntress Cybersecurity
    How Huntress & DEFCERT Are Streamlining CMMC Assessment Prep
    Huntress Cybersecurity
    How Huntress & DEFCERT Are Streamlining CMMC Assessment Prep
    Huntress Cybersecurity
    Live Hacking Into Microsoft 365 with Kyle Hanslovan
    Huntress Cybersecurity
    Live Hacking Into Microsoft 365 with Kyle Hanslovan
    Huntress Cybersecurity
  • Why Huntress

    Go beyond AI in the fight against today’s hackers with Huntress Managed EDR purpose-built for your needs

    Huntress Cybersecurity
    Why Huntress

    Go beyond AI in the fight against today’s hackers with Huntress Managed EDR purpose-built for your needs

    Huntress Cybersecurity
    The Huntress SOC

    24/7 Security Operations Center

    The Huntress SOC

    24/7 Security Operations Center

    Reviews

    Why businesses of all sizes trust Huntress to defend their assets

    Reviews

    Why businesses of all sizes trust Huntress to defend their assets

    Case Studies

    Learn directly from our partners how Huntress has helped them

    Case Studies

    Learn directly from our partners how Huntress has helped them

    Community

    Get in touch with the Huntress Community team

    Community

    Get in touch with the Huntress Community team

    Compare Huntress
    Bitdefender
    Bitdefender
    Blackpoint
    Blackpoint
    Breach Secure Now!
    Breach Secure Now!
    Crowdstrike
    Crowdstrike
    Datto
    Datto
    SentinelOne
    SentinelOne
    Sophos
    Sophos
    Compare Allright arrowCompare Allright arrow
  • HUNTRESS HUB

    Login to access top-notch marketing resources, tools, and training.

    Huntress Cybersecurity
    HUNTRESS HUB

    Login to access top-notch marketing resources, tools, and training.

    Huntress Cybersecurity
    Partners
    MSPs

    Join our partner community to deliver expert-led managed security.

    MSPs

    Join our partner community to deliver expert-led managed security.

    Resellers

    Partner program designed to grow your cybersecurity business.

    Resellers

    Partner program designed to grow your cybersecurity business.

    Tech Alliances

    Driving innovation through global technology Partnerships

    Tech Alliances

    Driving innovation through global technology Partnerships

    Microsoft Partnership

    A Level-Up for Your Business Security

    Microsoft Partnership

    A Level-Up for Your Business Security

  • Press Release
    Huntress Announces Collaboration with Microsoft to Strengthen Cybersecurity for Businesses of All Sizes
    Huntress Cybersecurity
    Press Release
    Huntress Announces Collaboration with Microsoft to Strengthen Cybersecurity for Businesses of All Sizes
    Huntress Cybersecurity
    Our Story

    We're on a mission to shatter the barriers to enterprise-level security.

    Our Story

    We're on a mission to shatter the barriers to enterprise-level security.

    Newsroom

    Explore press releases, news articles, media interviews and more.

    Newsroom

    Explore press releases, news articles, media interviews and more.

    Meet the Team

    Founded by former NSA Cyber Operators. Backed by security researchers.

    Meet the Team

    Founded by former NSA Cyber Operators. Backed by security researchers.

    Careers

    Ready to shake up the cybersecurity world? Join the hunt.

    Careers

    Ready to shake up the cybersecurity world? Join the hunt.

    Awards
    Awards
    Contact Us
    Contact Us
  • Portal Login
  • Support
  • Contact
  • Search
  • Get a Demo
  • Start for Free
Portal LoginSupportContact
Search
Close search
Get a Demo
Start for Free
HomeThreat LibraryVulnerabilities
CVE-2023-50387

CVE-2023-50387 Vulnerability

Published: 12/16/2025

Written by: Lizzie Danielson

Glitch effectGlitch effect

What is CVE-2023-50387 Vulnerability?

CVE-2023-50387, known as KeyTrap, is a Denial-of-Service (DoS) vulnerability discovered within DNSSEC-validating DNS resolvers, including BIND, Unbound, and other recursive resolver implementations. It allows attackers to exhaust system resources by exploiting a flaw in the way DNSSEC signatures are validated within the DNSKEY and RRSIG record processing logic. By crafting maliciously complex DNS responses, attackers can force affected resolvers to perform excessive cryptographic operations, causing CPU exhaustion and rendering the resolver unresponsive.

This vulnerability is tracked under the Common Vulnerabilities and Exposures program and presents significant risks to any organization relying on DNS resolvers that perform DNSSEC validation.

When was it discovered?

The CVE-2023-50387 vulnerability was discovered and responsibly disclosed by researchers from the ATHENE National Research Center for Applied Cybersecurity (Elias Heftrig, Haya Schulmann, Niklas Vogel, and Michael Waidner).

  • Discovery date: November 2, 2023 (initial vendor disclosure)

  • Public disclosure date: February 13, 2024

The ATHENE team coordinated with major DNS software vendors for patch development and public release before full disclosure.

Affected products & versions

Product

Versions Affected

Fixed Versions / Patch Links

BIND 9

9.0.0 → 9.16.46, 9.18.0 → 9.18.22, 9.19.0 → 9.19.20

ISC Advisory & Patches

Unbound

Up to 1.19.1

NLnet Labs Advisory

Knot Resolver

5.x prior to February 2024 patches

CZ.NIC Advisory

Akamai DNSi (CacheServe, AnswerX, Cloud & Managed)

Pre-February 2024 builds

Akamai Security Blog

dnsmasq and other DNSSEC-validating resolvers

Versions supporting DNSSEC prior to early 2024 updates

Refer to individual vendor advisories

CVE-2023-50387 technical description

This vulnerability stems from an algorithmic complexity flaw within the DNSSEC validation process. When a resolver receives a DNS response containing a large number of cryptographic keys and signatures, it attempts to verify every possible key-signature combination. The absence of computational limits or safeguards in the validation routine allows an attacker to send a malicious DNS response that triggers excessive cryptographic computations.

Example behavior:

dig @ example.dnssec-malicious-domain.com +dnssec

A malicious domain can return thousands of DNSKEY and RRSIG records, causing full CPU utilization on the resolver during validation. This flaw allows attackers to render the resolver unresponsive—disrupting DNS resolution for entire networks and services. While it does not enable arbitrary code execution, it critically impacts availability at scale.

Tactics, techniques & procedures (TTPs)

Adversaries can exploit CVE-2023-50387 by:

  • Operating a malicious DNS zone that sends crafted DNSSEC responses.

  • Leveraging compromised or misconfigured DNS servers to redirect resolver queries to malicious domains.

  • Conducting amplified DoS attacks targeting recursive resolvers that perform DNSSEC validation.

These attacks can disrupt internet-facing applications, VPNs, and web services reliant on the affected resolvers.

Indicators of Compromise

Organizations should monitor for:

  • Sustained or unexplained high CPU usage on DNS resolvers.

  • DNS query timeouts or resolution failures across client networks.

  • Logs showing repeated queries to suspicious or unknown DNSSEC-enabled domains.

Indicators may include:

  • DNS queries to domains hosting oversized DNSKEY and RRSIG sets.

  • Outbound connections from resolvers to unexpected authoritative servers.

  • Increased latency or resource exhaustion alerts in monitoring tools.

Known Proof-of-Concepts & Exploits

As of publication, no public proof-of-concept exploit has been released, but research details from ATHENE’s KeyTrap paper demonstrate reproducible conditions. Major vendors and national CERTs have warned that exploitation is practical and easily weaponizable, with potential for large-scale service disruption if left unpatched.

How to detect CVE-2023-50387 vulnerability

Detection strategies include:

  • Network monitoring: Identify DNS responses with unusually large DNSSEC payloads.

  • Host-based tools: Use resolver debug or query logs to spot repetitive validation loops.

  • SIEM correlation: Query for anomalous resolver CPU spikes linked to DNSSEC validation routines.

Impact & risk of CVE-2023-50387 vulnerability

Exploitation can cause:

  • Denial-of-Service on DNS resolvers, halting domain resolution.

  • Network-wide service outages for applications, websites, and email systems relying on DNS.

  • Potential exploitation in chained attacks, where downtime facilitates secondary intrusions or misdirection.

Given that a large portion of the internet relies on DNSSEC-validating resolvers, this flaw poses systemic risk to global availability.

Mitigation & remediation strategies

To address CVE-2023-50387, organizations should:

  • Apply patches immediately from BIND, Unbound, or other resolver vendors.

  • Rate-limit DNSSEC validation tasks where supported.

  • Isolate or segment resolvers to reduce blast radius of DoS events.

  • Monitor for excessive resource utilization tied to DNSSEC activity.

  • Temporarily disable DNSSEC validation only if absolutely necessary and operational continuity is at risk.

CVE-2023-50387 Vulnerability FAQs

CVE-2023-50387 is a Remote Code Execution (RCE) vulnerability that attackers exploit to gain unauthorized control of affected systems. By exploiting improper input validation in [specific vulnerable component], attackers can execute malicious payloads remotely.

Attackers leverage phishing campaigns, spoofed updates, or exposed services to target unpatched systems. Once they exploit the vulnerability, they can install malware or execute arbitrary commands.

While CVE-2023-50387 is mitigated by patches, unpatched systems and unprotected environments remain at risk. Staying vigilant with updates and security monitoring is critical for long-term protection.

Organizations should apply the latest vendor patches, enable advanced threat protection tools like EDR, and monitor network traffic for suspicious activity. Proactive vulnerability scanning is also highly effective.

Glitch effectBlurry glitch effect

Protect What Matters

Secure endpoints, email, and employees with the power of our 24/7 SOC. Try Huntress for free and deploy in minutes to start fighting threats.
Try Huntress for Free
Huntress Managed Security PlatformManaged EDRManaged EDR for macOSManaged EDR for LinuxManaged ITDRManaged SIEMManaged Security Awareness TrainingManaged ISPMManaged ESPMBook a Demo
PhishingComplianceBusiness Email CompromiseEducationFinanceHealthcareManufacturingState & Local Government
Managed Service ProvidersResellersIT & Security Teams24/7 SOCCase Studies
BlogResource CenterCybersecurity 101Upcoming EventsSupport Documentation
Our CompanyLeadershipNews & PressCareersContact Us
Huntress white logo

Protecting 215k+ customers like you with enterprise-grade protection.

Privacy PolicyCookie PolicyTerms of UseCookie Consent
Linkedin iconTwitter X iconYouTube iconInstagram icon
© 2025 Huntress All Rights Reserved.

Join the Hunt

Get insider access to Huntress tradecraft, killer events, and the freshest blog updates.

By submitting this form, you accept our Terms of Service & Privacy Policy