UBUNTU-CVE-2026-74765 (CVE-2026-74765)
Vulnerability from osv_ubuntu – Published: 2026-09-22 00:00 – Updated: 2026-09-22 00:00 – Source websiteNet::IDN::Punycode versions before 2.590 for Perl allow an out-of-bounds read via integer overflow of the delta accumulator in encode_punycode. The XS backend keeps the punycode delta, and the digit index derived from it, in a signed int. The accumulation delta += (m-n) * (h+1) has no overflow check, so a large enough code point wraps the delta and the digit index leaves the range of the 36-entry digit table. The bound before the final table access tests only for an index above 36, so a negative index passes it, as does 36 itself. Perl strings hold code points beyond the Unicode range, and one such code point overflows the accumulation on its own. Valid input wraps it as well, for example 1927 ASCII letters followed by U+10FFFF. The conversion functions encode a label before they check its length, so a long label reaches the encoder through the documented API. Only the XS backend is affected. Encoding an attacker-supplied string copies a byte from outside the digit table into the encoded result or crashes the process.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnet-idn-encode-perl",
"binary_version": "2.300-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "libnet-idn-encode-perl",
"purl": "pkg:deb/ubuntu/libnet-idn-encode-perl@2.300-1build1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.202-1",
"2.300-1",
"2.300-1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnet-idn-encode-perl",
"binary_version": "2.400-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "libnet-idn-encode-perl",
"purl": "pkg:deb/ubuntu/libnet-idn-encode-perl@2.400-1build1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.400-1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnet-idn-encode-perl",
"binary_version": "2.500-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "libnet-idn-encode-perl",
"purl": "pkg:deb/ubuntu/libnet-idn-encode-perl@2.500-1build1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.500-1",
"2.500-1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnet-idn-encode-perl",
"binary_version": "2.500-2build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "libnet-idn-encode-perl",
"purl": "pkg:deb/ubuntu/libnet-idn-encode-perl@2.500-2build1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.500-1build2",
"2.500-2",
"2.500-2build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnet-idn-encode-perl",
"binary_version": "2.500-5"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "libnet-idn-encode-perl",
"purl": "pkg:deb/ubuntu/libnet-idn-encode-perl@2.500-5?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.500-3",
"2.500-3build1",
"2.500-3build2",
"2.500-5"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnet-idn-encode-perl",
"binary_version": "2.500-5build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "libnet-idn-encode-perl",
"purl": "pkg:deb/ubuntu/libnet-idn-encode-perl@2.500-5build1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.500-5build1"
]
}
],
"aliases": [],
"details": "Net::IDN::Punycode versions before 2.590 for Perl allow an out-of-bounds read via integer overflow of the delta accumulator in encode_punycode. The XS backend keeps the punycode delta, and the digit index derived from it, in a signed int. The accumulation `delta += (m-n) * (h+1)` has no overflow check, so a large enough code point wraps the delta and the digit index leaves the range of the 36-entry digit table. The bound before the final table access tests only for an index above 36, so a negative index passes it, as does 36 itself. Perl strings hold code points beyond the Unicode range, and one such code point overflows the accumulation on its own. Valid input wraps it as well, for example 1927 ASCII letters followed by U+10FFFF. The conversion functions encode a label before they check its length, so a long label reaches the encoder through the documented API. Only the XS backend is affected. Encoding an attacker-supplied string copies a byte from outside the digit table into the encoded result or crashes the process.",
"id": "UBUNTU-CVE-2026-74765",
"modified": "2026-09-22T00:00:00Z",
"published": "2026-09-22T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-74765"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-74765"
},
{
"type": "REPORT",
"url": "https://lists.security.metacpan.org/cve-announce/msg/43753029/"
},
{
"type": "REPORT",
"url": "https://datatracker.ietf.org/doc/html/rfc3492#section-6.4"
},
{
"type": "REPORT",
"url": "https://github.com/robrwo/Net-IDN-Encode/commit/27a91ccdb6c9b41f75ba198f5ae154d14e225de2.patch"
},
{
"type": "REPORT",
"url": "https://github.com/robrwo/Net-IDN-Encode/commit/81c7f99fe7430bdc5116081508dffdb56f376861.patch"
},
{
"type": "REPORT",
"url": "https://github.com/robrwo/Net-IDN-Encode/commit/89d5aa8d3504c5e96061ab76d1541a89c16157cf.patch"
},
{
"type": "REPORT",
"url": "https://metacpan.org/release/PJCJ/Net-IDN-Encode-2.590-TRIAL/changes"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-74765"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.