{"id":"CVE-2026-117678","sourceIdentifier":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","published":"2026-11-19T06:16:53.153","lastModified":"2026-11-23T15:08:56.100","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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.\n\nEvery 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.\n\nThis issue affects idna: from 0.5.0 before 8.0.0."}],"affected":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","affectedData":[{"vendor":"benoitc","product":"idna","defaultStatus":"unaffected","collectionURL":"https://repo.hex.pm","packageName":"idna","cpes":["cpe:2.3:a:benoitc:idna:*:*:*:*:*:*:*:*"],"modules":["idna","punycode"],"programFiles":["src/idna.erl","src/punycode.erl"],"programRoutines":[{"name":"idna:ulabel/1"},{"name":"idna:decode/1"},{"name":"idna:decode/2"},{"name":"idna:to_unicode/1"},{"name":"idna:from_ascii/1"},{"name":"idna:alabel/1"},{"name":"idna:encode/1"},{"name":"idna:encode/2"},{"name":"idna:to_ascii/1"},{"name":"punycode:decode/1"},{"name":"punycode:insert/4"}],"repo":"https://github.com/benoitc/erlang-idna","packageURL":"pkg:hex/idna","versions":[{"version":"0.5.0","lessThan":"8.0.0","versionType":"semver","status":"affected"}]},{"vendor":"benoitc","product":"idna","defaultStatus":"unaffected","collectionURL":"https://github.com","packageName":"benoitc/erlang-idna","cpes":["cpe:2.3:a:benoitc:idna:*:*:*:*:*:*:*:*"],"modules":["idna","punycode"],"programFiles":["src/idna.erl","src/punycode.erl"],"programRoutines":[{"name":"idna:ulabel/1"},{"name":"idna:decode/1"},{"name":"idna:decode/2"},{"name":"idna:to_unicode/1"},{"name":"idna:from_ascii/1"},{"name":"idna:alabel/1"},{"name":"idna:encode/1"},{"name":"idna:encode/2"},{"name":"idna:to_ascii/1"},{"name":"punycode:decode/1"},{"name":"punycode:insert/4"}],"repo":"https://github.com/benoitc/erlang-idna","packageURL":"pkg:github/benoitc/erlang-idna","versions":[{"version":"c8caba6653259071f7076fe49320f37402b8b81f","lessThan":"7a465b630eb793556aa7ac282fb73e49251dadd2","versionType":"git","status":"affected"}]}]}],"metrics":{"cvssMetricV40":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":6.9,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-19T14:54:46.306784Z","id":"CVE-2026-117678","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","description":[{"lang":"en","value":"CWE-407"}]}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-117678.html","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/benoitc/erlang-idna/commit/7a465b630eb793556aa7ac282fb73e49251dadd2","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/benoitc/erlang-idna/commit/c8caba6653259071f7076fe49320f37402b8b81f","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/benoitc/erlang-idna/pull/44","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/benoitc/erlang-idna/pull/45","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-117678","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"}]}