UBUNTU-CVE-2026-74766

Source
https://ubuntu.com/security/CVE-2026-74766
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-74766.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-74766
Upstream
Published
2026-09-22T08:16:00Z
Modified
2026-09-24T02:00:52Z
Severity
  • 8.4 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Net::IDN::Punycode versions from 2.301 before 2.590 for Perl allow a heap use-after-free via a decoded code point that reallocates the output buffer in decode_punycode. The XS backend inserts each decoded code point into the string buffer of the scalar it returns. decode_punycode computes the insertion pointer first and only then grows the buffer when the code point does not fit. The growth reallocates the buffer and updates every pointer except the insertion pointer, so the move that follows and the write of the code point go through a freed pointer. The buffer starts at twice the label length, and a code point above U+FFFF takes four bytes in the output, so a label of such code points outgrows it and forces the reallocation. Version 2.301, the fix for CVE-2016-15059, introduced the defect. Only the XS backend is affected. Decoding an attacker-supplied punycode label reads and writes freed heap memory.

References

Affected packages

Ubuntu:16.04:LTS
libnet-idn-encode-perl

Package

Name
libnet-idn-encode-perl
Purl
pkg:deb/ubuntu/libnet-idn-encode-perl?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.202-1
2.300-1
2.300-1build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libnet-idn-encode-perl",
            "binary_version":  "2.300-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-74766.json"
Ubuntu:18.04:LTS
libnet-idn-encode-perl

Package

Name
libnet-idn-encode-perl
Purl
pkg:deb/ubuntu/libnet-idn-encode-perl?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.400-1build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libnet-idn-encode-perl",
            "binary_version":  "2.400-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-74766.json"
Ubuntu:20.04:LTS
libnet-idn-encode-perl

Package

Name
libnet-idn-encode-perl
Purl
pkg:deb/ubuntu/libnet-idn-encode-perl?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.500-1
2.500-1build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libnet-idn-encode-perl",
            "binary_version":  "2.500-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-74766.json"
Ubuntu:22.04:LTS
libnet-idn-encode-perl

Package

Name
libnet-idn-encode-perl
Purl
pkg:deb/ubuntu/libnet-idn-encode-perl?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.500-1build2
2.500-2
2.500-2build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libnet-idn-encode-perl",
            "binary_version":  "2.500-2build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-74766.json"
Ubuntu:24.04:LTS
libnet-idn-encode-perl

Package

Name
libnet-idn-encode-perl
Purl
pkg:deb/ubuntu/libnet-idn-encode-perl?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
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-5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-74766.json"
Ubuntu:26.04:LTS
libnet-idn-encode-perl

Package

Name
libnet-idn-encode-perl
Purl
pkg:deb/ubuntu/libnet-idn-encode-perl?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.500-5build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libnet-idn-encode-perl",
            "binary_version":  "2.500-5build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-74766.json"