← Back to search

CVE-2026-87078

9.1 CRITICALpublic exploit available

Published 2026-09-22 · Updated 2026-09-22

AI risk analysis

Summary
The flaw in Net::IDN::Punycode allows attackers to cause a denial of service by sending invalid labels, leading to excessive memory allocation.
Exploitability
Exploitation is relatively easy as long as the attacker can send invalid labels to the application.
Blast radius
If exploited, the impact is limited to the affected system, causing potential denial of service due to memory exhaustion.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to Net::IDN::Punycode version 2.590 or later.
dosmemory-leakperl

Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

Net::IDN::Punycode versions from 2.302 before 2.590 for Perl leak the output buffer on every rejected label in decode_punycode. The XS backend allocates the scalar it returns before it validates the input, sizing the buffer at twice the input length. The scalar is released only on the success path, so each of the three croaks that reject a label leaves the scalar and its buffer allocated. Nothing bounds the label length in the to-Unicode direction, since the 63-byte DNS limit is checked only when converting to ASCII. Only the XS backend is affected. A sender who supplies invalid labels grows the process by twice the label length per rejected call, with no successful call needed.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Weaknesses

CWE-401

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.