Availability is a major concern in the design of DNSSEC. To ensure availability, DNSSEC follows Postel’s Law [RFC1123]: “Be liberal in what you accept, and conservative in what you send.” Hence, nameservers should send not just one matching key for a record set, but all the relevant cryptographic material, e.g., all the keys for all the ciphers that they support and all the corresponding signatures. This ensures that validation succeeds, and hence availability, even if some of the DNSSEC keys are misconfigured, incorrect or correspond to unsupported ciphers.
We show that this design of DNSSEC is flawed. Exploiting vulnerable recommendations in the DNSSEC standards, we develop a new class of DNSSEC-based algorithmic complexity attacks on DNS, we dub KeyTrap attacks. All popular DNS implementations and services are vulnerable. With just a single DNS packet, the KeyTrap attacks lead to a 2.000.000x spike in CPU instruction count in vulnerable DNS resolvers, stalling some for as long as 16 hours. This devastating effect prompted major DNS vendors to refer to KeyTrap as the worst attack on DNS ever discovered. Exploiting KeyTrap, an attacker could effectively disable Internet access in any system utilizing a DNSSEC-validating resolver.
We disclosed KeyTrap to vendors and operators on November 2, 2023, confidentially reporting the vulnerabilities to a closed group of DNS experts, operators and developers from the industry. Since then we have been working with all major vendors to mitigate KeyTrap, repeatedly discovering and assisting in closing weaknesses in proposed patches. Following our disclosure, the industry-wide umbrella CVE-2023-50387 has been assigned, covering the DNSSEC protocol vulnerabilities we present in this work.

The Harder You Try, The Harder You Fail: The KeyTrap Denial-of-Service Algorithmic Complexity Attacks on DNSSEC
Share:
London, GB
8:55 am,
Jul 9, 2025
L: 17° |
H: 20°
Feels like 18°C°
clear sky
Humidity:
66 %
Pressure:
1021 mb
Wind:
6 mph
WNW
Wind Gust:
0 mph
UV Index:
0
Precipitation:
0 mm
Clouds:
3%
Rain Chance:
0%
Visibility:
10 km
Sunrise:
4:54 am
Sunset:
9:16 pm
DailyHourly
Daily ForecastHourly Forecast
Today
10:00 pm
17° | 20°°C
0.88 mm
88%
6 mph
66 %
1022 mb
0 mm/h
Tomorrow
10:00 pm
18° | 30°°C
0 mm
0%
8 mph
76 %
1023 mb
0 mm/h
Fri Jul 11
10:00 pm
19° | 29°°C
0 mm
0%
8 mph
56 %
1022 mb
0 mm/h
Sat Jul 12
10:00 pm
19° | 30°°C
0 mm
0%
10 mph
68 %
1019 mb
0 mm/h
Sun Jul 13
10:00 pm
18° | 31°°C
0 mm
0%
10 mph
68 %
1016 mb
0 mm/h
Today
10:00 am
19° | 20°°C
0 mm
0%
5 mph
66 %
1021 mb
0 mm/h
Today
1:00 pm
20° | 23°°C
0 mm
0%
6 mph
63 %
1021 mb
0 mm/h
Today
4:00 pm
24° | 26°°C
0.88 mm
88%
4 mph
54 %
1021 mb
0 mm/h
Today
7:00 pm
25° | 25°°C
0.31 mm
31%
3 mph
51 %
1021 mb
0 mm/h
Today
10:00 pm
22° | 22°°C
0 mm
0%
3 mph
57 %
1022 mb
0 mm/h
Tomorrow
1:00 am
21° | 21°°C
0 mm
0%
2 mph
67 %
1022 mb
0 mm/h
Tomorrow
4:00 am
18° | 18°°C
0 mm
0%
3 mph
76 %
1022 mb
0 mm/h
Tomorrow
7:00 am
19° | 19°°C
0 mm
0%
3 mph
69 %
1023 mb
0 mm/h
Weather from OpenWeatherMap
Name | Price | 24H (%) |
---|---|---|
Bitcoin(BTC) | €92,741.88 | 0.27% |
Ethereum(ETH) | €2,238.28 | 2.80% |
Tether(USDT) | €0.85 | 0.00% |
XRP(XRP) | €1.99 | 2.65% |
Solana(SOL) | €130.48 | 2.31% |
USDC(USDC) | €0.85 | -0.01% |
Dogecoin(DOGE) | €0.146621 | 2.00% |
Shiba Inu(SHIB) | €0.000010 | 1.34% |
![]() Pepe(PEPE) | €0.000009 | 3.04% |