Inefficient Algorithmic Complexity in idna Library by Benoit C.
CVE-2026-117678

6.9MEDIUM

Key Information:

Vendor

Benoitc

Status
Vendor
CVE Published:
19 November 2026

What is CVE-2026-117678?

The idna library by Benoit C. is plagued by an inefficiency that allows attackers with control over hostname inputs to launch CPU exhaustion attacks. Specifically, the library fails to properly check the length of ASCII labels that begin with the 'xn--' prefix before processing. This oversight leads to a super-linear growth in processing time when such labels are passed to the punycode decoding function, potentially placing extensive load on system resources and disrupting service. Both decoding and encoding processes in the library are affected, making this vulnerability a considerable threat to applications relying on idna for hostname normalization.

Affected Version(s)

idna 0.5.0 < 8.0.0

idna c8caba6653259071f7076fe49320f37402b8b81f < 7a465b630eb793556aa7ac282fb73e49251dadd2

References

CVSS V4

Score:
6.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Andrew Moore
Martin Karrer
Andrew Moore
Benoit Chesneau
Martin Karrer
Jonatan Männchen / EEF
.