UBUNTU-CVE-2026-87078

Source
https://ubuntu.com/security/CVE-2026-87078
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87078.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-87078
Upstream
Published
2026-09-22T00:00:00Z
Modified
2026-09-22T22:58:12Z
Severity
  • Ubuntu - medium
Summary
[none]
Details

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.

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-87078.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-87078.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-87078.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-87078.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-87078.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-87078.json"