UBUNTU-CVE-2016-15059

Source
https://ubuntu.com/security/CVE-2016-15059
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-15059.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2016-15059
Upstream
Published
2026-09-22T08:16:00Z
Modified
2026-09-24T02:00:17Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/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 before 2.301 for Perl allow a heap buffer overflow via unchecked writes past the output buffer in encode_punycode. The XS backend builds the encoded label in the string buffer of the scalar it returns, sized from the input length. The loop that emits the digits of each code point checks for room before every write, but the write of the last digit of each round and the write of the terminating NUL do not, so an input whose encoded form fills the buffer writes past its end. Only the XS backend is affected. Encoding an attacker-supplied string corrupts the heap.

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/2016/UBUNTU-CVE-2016-15059.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/2016/UBUNTU-CVE-2016-15059.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/2016/UBUNTU-CVE-2016-15059.json"