CVE-2026-117678
Received Received - Intake

Inefficient Algorithmic Complexity in idna Library

Vulnerability report for CVE-2026-117678, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-19

Last updated on: 2026-11-19

Assigner: EEF

Description

Inefficient Algorithmic Complexity vulnerability in benoitc idna allows an attacker who controls a hostname passed to the library to exhaust CPU via an over-long xn-- label. idna:ulabel/1 in src/idna.erl hands every ASCII label that starts with xn-- to punycode:decode/1 without applying check_label_length/1, the 63-octet DNS label limit. punycode:decode/1 in src/punycode.erl builds its output with list appends in insert/4, so its cost grows super-linearly with the label length. A label of a few kilobytes keeps a scheduler busy for seconds to minutes before the label is rejected as invalid punycode. Every decode entry point reaches this path: decode/1, decode/2, to_unicode/1 and from_ascii/1. The encode path reaches it as well, because alabel/1 calls ulabel/1 on an ASCII xn-- label before its own length check, so encode/1, encode/2 and to_ascii/1 are affected for such input. This issue affects idna: from 0.5.0 before 8.0.0.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-19
Last Modified
2026-11-19
Generated
2026-11-19
AI Q&A
2026-11-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
benoitc idna From 0.5.0 (inc) to 8.0.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-407 An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an inefficient algorithmic complexity issue in the benoitc idna library. An attacker controlling a hostname can exploit it by providing an overly long xn-- label, causing CPU exhaustion due to super-linear time complexity in Punycode decoding. The library fails to validate label length before processing, leading to excessive CPU usage for invalid labels.

Impact Analysis

This vulnerability can cause denial-of-service conditions by consuming excessive CPU resources. Attackers may send crafted hostnames with long xn-- labels to slow down or crash systems using the idna library. Systems processing many such requests could experience significant performance degradation or become unresponsive.

Mitigation Strategies

Upgrade the idna library to version 8.0.0 or later to address the inefficient algorithmic complexity issue. If upgrading is not immediately possible, implement input validation to reject any domain with labels longer than 63 octets before passing it to the library.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-117678. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...