Skip to main content
EPSS 0.2%top 95%

CVE-2026-87079: CWE-407 Inefficient Algorithmic Complexity

0
High
VulnerabilityCVE-2026-87079cvecve-2026-87079cwe-407
Published: 09/22/2026 (09/22/2026, 07:24:47 UTC)
Source: CVE Database V5

Description

Net::IDN::Punycode versions before 2.590 for Perl allow CPU exhaustion via quadratic insertion cost when decoding a long label in decode_punycode. The XS backend inserts each decoded code point into a UTF-8 buffer and finds the insertion point by scanning that buffer from the start, one character at a time. The scan runs once per code point over the output built so far, so the cost is quadratic in the label length. The pure-Perl backend downgrades its input to bytes so that substr can index it directly, but takes its working copy before the downgrade, so when the input carries the UTF-8 flag every substr on the copy scans from the start, with the same quadratic cost. Nothing bounds the label length in the to-Unicode direction. The 63-byte DNS limit is checked only when converting to ASCII, so domain_to_unicode and uts46_to_unicode pass an attacker-supplied label of any length to the decoder.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

GitHub Actionsmore threats →cve
Net-IDN-Encode
pkg:github/Net-IDN-Encode
Affected versions
>=0 <2.590

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/22/2026, 07:47:53 UTC

Technical Analysis

CVE-2026-87079 describes an inefficient algorithmic complexity issue (CWE-407) in Net::IDN::Punycode versions prior to 2.590 for Perl. The decode_punycode function suffers from quadratic time complexity due to repeated scanning of the UTF-8 buffer for each code point insertion. The XS backend inserts decoded code points by scanning from the start of the buffer each time, and the pure-Perl backend also experiences quadratic cost when the input has the UTF-8 flag. The vulnerability is exacerbated because the 63-byte DNS label length limit is only enforced when converting to ASCII, not when converting to Unicode, allowing attacker-controlled labels of arbitrary length to be processed and cause CPU exhaustion.

Potential Impact

An attacker can exploit this vulnerability to cause excessive CPU consumption on systems using vulnerable versions of Net::IDN::Punycode when decoding maliciously crafted long labels. This can lead to denial of service conditions due to resource exhaustion. There is no indication of direct code execution or data corruption from the provided information.

Mitigation Recommendations

A fix is available in Net::IDN::Punycode version 2.590 and later. Users should upgrade to version 2.590 or newer to remediate this vulnerability. No other mitigation steps are indicated in the advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-09-08T19:22:20.005Z
State
PUBLISHED

Threat ID: 6ab22f39f7a7c54106d716ad

Added to database: 09/22/2026, 07:33:13 UTC

Last enriched: 09/22/2026, 07:47:53 UTC

Last updated: 09/22/2026, 14:25:44 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses