Home / benoitc / idna / CVE-2026-117678
CVE-2026-117678: is it exploited, and which versions of benoitc idna are affected and fixed?
CVE-2026-117678 is a denial of service through slow algorithm vulnerability in benoitc idna. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: idna from 0.5.0 before 8.0.0 (CVE record by EEF). Fixed in 8.0.0 (CVE record by EEF). Severity: Medium (6.9, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 15:03 UTC and NVD November 23, 2026, 16:08 UTC.
What is CVE-2026-117678?
idna: punycode labels are decoded before the 63-octet length check, so a long xn-- label causes super-linear CPU use
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.
From the CVE record by EEF, last updated November 19, 2026, 14:54 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| benoitc | idna | from 0.5.0 before 8.0.0 | 8.0.0 |
| benoitc | idna benoitc/erlang-idna | not stated |
As the CVE record by EEF states it, last updated November 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-117678?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-117678 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 19, 2026)
- EPSS
- 0.17% probability of exploitation activity in the next 30 days, percentile 5.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-407 Inefficient Algorithmic Complexity
Is there a workaround? (from the CVE record)
Before passing a hostname to idna, reject any domain that contains a label longer than 63 octets. The DNS limits labels to that length, so legitimate names pass unchanged, and the decoder never runs on the crafted label. The check must run before every call that reaches idna:ulabel/1, including encode/1 and to_ascii/1, because alabel/1 decodes an ASCII xn-- label before checking its length.
Where are the vendor advisories and references?
- Check label length before Punycode and fix the transform's complexity issue-tracking
- EEF CNA record for CVE-2026-117678 related, third-party-advisory
- OSV record EEF-CVE-2026-117678 related
- Reject over-long labels before Punycode and speed up the transform patch
- Introducing commit c8caba6 in benoitc/erlang-idna related
- Fix commit 7a465b6 in benoitc/erlang-idna patch
Who found and reported it?
- Andrew Moore (finder)
- Martin Karrer (finder)
- Andrew Moore (reporter)
- Jonatan Männchen / EEF (coordinator)
- Benoit Chesneau (remediation developer)
- Martin Karrer (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 28, 2026
- Published
- November 19, 2026, 05:36 UTC
- CVE record updated
- November 19, 2026, 14:54 UTC by EEF
- NVD
- Deferred, last modified November 23, 2026, 15:08 UTC
- Last checked
- CVE list November 19, 2026, 15:03 UTC; NVD November 23, 2026, 16:08 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-117678
Is CVE-2026-117678 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.17% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of benoitc idna are affected by CVE-2026-117678?
idna from 0.5.0 before 8.0.0, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-117678?
8.0.0, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-117678?
Medium (6.9, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-117678?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.