CVE-2016-15059 Affecting libnet-idn-encode-perl package, versions <2.303-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.42% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-LIBNETIDNENCODEPERL-20044307
  • published22 Sept 2026
  • disclosed22 Sept 2026

Introduced: 22 Sep 2026

NewCVE-2016-15059  (opens in a new tab)

How to fix?

Upgrade Echo:latest libnet-idn-encode-perl to version 2.303-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libnet-idn-encode-perl package and not the libnet-idn-encode-perl package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.