UBUNTU-CVE-2016-15059
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.
UBUNTU-CVE-2016-15059
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:UBUNTU-CVE-2016-15059
libnet-idn-encode-perl
Source reference: /affected/0/package/name
- Affected versions
- 2.202-1
Source reference:
/affected/0/versions2.300-1Source reference:
/affected/0/versions2.300-1build1Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
libnet-idn-encode-perl
Source reference: /affected/1/package/name
- Affected versions
- 2.400-1build1
Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
libnet-idn-encode-perl
Source reference: /affected/2/package/name
- Affected versions
- 2.500-1
Source reference:
/affected/2/versions2.500-1build1Source reference:
/affected/2/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libnet-idn-encode-perl",
"purl": "pkg:deb/ubuntu/libnet-idn-encode-perl?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"2.202-1",
"2.300-1",
"2.300-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-15059.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnet-idn-encode-perl",
"binary_version": "2.300-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libnet-idn-encode-perl",
"purl": "pkg:deb/ubuntu/libnet-idn-encode-perl?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"2.400-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-15059.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnet-idn-encode-perl",
"binary_version": "2.400-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libnet-idn-encode-perl",
"purl": "pkg:deb/ubuntu/libnet-idn-encode-perl?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"2.500-1",
"2.500-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-15059.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnet-idn-encode-perl",
"binary_version": "2.500-1build1"
}
]
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #5773 · Revision 1
- Added to Heist Feed
- Publisher date