CVE-2016-15059
Last modified
CVE-2016-15059 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| — | — | < 2.301 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2016-15059?
How severe is CVE-2016-15059?
How do I fix CVE-2016-15059?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2016
- CVE-2016-15053Nagios XI versions prior to 5.2.4 are vulnerable to cross-si…5.4
- CVE-2016-15054Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2016-15055JVC VN-T IP-camera models firmware versions up to 2016-08-22…8.7
- CVE-2016-15056Ubee EVW3226 cable modem/routers firmware versions up to and…8.7
- CVE-2016-15057** UNSUPPORTED WHEN ASSIGNED ** Improper Neutralization of S…9.9
- CVE-2016-15058Hirschmann HiLCOS Classic Platform switches Classic L2E, L2P…8.6
- CVE-2016-1513The Impress tool in Apache OpenOffice 4.1.2 and earlier allo…
- CVE-2016-1514Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2016-1515Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2016-1516OpenCV 3.0.0 has a double free issue that allows attackers t…8.8
- CVE-2016-1517OpenCV 3.0.0 allows remote attackers to cause a denial of se…
- CVE-2016-1518The auto-provisioning mechanism in the Grandstream Wave app …
Are you affected by CVE-2016-15059?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
