Your message dated Sat, 31 Oct 2026 01:49:45 +0000
with message-id <[email protected]>
and subject line Bug#1148729: fixed in libnet-idn-encode-perl 2.600-1
has caused the Debian Bug report #1148729,
regarding libnet-idn-encode-perl: CVE-2026-74765 CVE-2026-74766 CVE-2026-87078 
CVE-2026-87079 CVE-2026-87080 CVE-2026-87081 CVE-2026-87082
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1148729: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1148729
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libnet-idn-encode-perl
Version: 2.500-5
Severity: important
Tags: security upstream
X-Debbugs-Cc: [email protected], Debian Security Team <[email protected]>

Hi,

The following vulnerabilities were published for libnet-idn-encode-perl.

CVE-2026-74765[0]:
| Net::IDN::Punycode versions before 2.590 for Perl allow an out-of-
| bounds read via integer overflow of the delta accumulator in
| encode_punycode.  The XS backend keeps the punycode delta, and the
| digit index derived from it, in a signed int. The accumulation
| `delta += (m-n) * (h+1)` has no overflow check, so a large enough
| code point wraps the delta and the digit index leaves the range of
| the 36-entry digit table. The bound before the final table access
| tests only for an index above 36, so a negative index passes it, as
| does 36 itself. Perl strings hold code points beyond the Unicode
| range, and one such code point overflows the accumulation on its
| own. Valid input wraps it as well, for example 1927 ASCII letters
| followed by U+10FFFF. The conversion functions encode a label before
| they check its length, so a long label reaches the encoder through
| the documented API.  Only the XS backend is affected.  Encoding an
| attacker-supplied string copies a byte from outside the digit table
| into the encoded result or crashes the process.


CVE-2026-74766[1]:
| Net::IDN::Punycode versions from 2.301 before 2.590 for Perl allow a
| heap use-after-free via a decoded code point that reallocates the
| output buffer in decode_punycode.  The XS backend inserts each
| decoded code point into the string buffer of the scalar it returns.
| decode_punycode computes the insertion pointer first and only then
| grows the buffer when the code point does not fit. The growth
| reallocates the buffer and updates every pointer except the
| insertion pointer, so the move that follows and the write of the
| code point go through a freed pointer. The buffer starts at twice
| the label length, and a code point above U+FFFF takes four bytes in
| the output, so a label of such code points outgrows it and forces
| the reallocation.  Version 2.301, the fix for CVE-2016-15059,
| introduced the defect. Only the XS backend is affected.  Decoding an
| attacker-supplied punycode label reads and writes freed heap memory.


CVE-2026-87078[2]:
| 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.


CVE-2026-87079[3]:
| Net::IDN::Punycode versions before 2.590 for Perl allow CPU
| exhaustion via quadratic insertion cost when decoding a long label
| in decode_punycode.  The XS backend inserts each decoded code point
| into a UTF-8 buffer and finds the insertion point by scanning that
| buffer from the start, one character at a time. The scan runs once
| per code point over the output built so far, so the cost is
| quadratic in the label length. The pure-Perl backend downgrades its
| input to bytes so that substr can index it directly, but takes its
| working copy before the downgrade, so when the input carries the
| UTF-8 flag every substr on the copy scans from the start, with the
| same quadratic cost.  Nothing bounds the label length in the to-
| Unicode direction. The 63-byte DNS limit is checked only when
| converting to ASCII, so domain_to_unicode and uts46_to_unicode pass
| an attacker-supplied label of any length to the decoder.


CVE-2026-87080[4]:
| Net::IDN::Punycode::PP versions before 2.590 for Perl decode a
| truncated label to a name containing a character it never encoded in
| decode_punycode.  The pure-Perl decoder reads one digit at a time
| with four-argument substr and tests the result with defined to
| detect the end of the input. substr on an exhausted string returns
| the empty string rather than undef, so decoding continues past the
| end. The empty string converts to a digit value below the range,
| reducing the accumulator, and the decoder derives one extra code
| point and its position from it. The result is deterministic. The XS
| backend rejects the same label.  Net::IDN::Punycode uses this
| backend wherever the XS does not build.  The two backends disagree
| about what such a label means, so a sender can pick a label that one
| installation resolves to a name and another rejects.


CVE-2026-87081[5]:
| Net::IDN::UTS46 versions before 2.590 for Perl allow CPU exhaustion
| via quadratic punycode encoding of an overlong label before the
| length check in to_ascii.  to_ascii punycode encodes each label and
| only then applies the 63-byte DNS limit. encode_punycode in both
| backends follows the sample implementation in RFC 3492, whose outer
| loop runs once per distinct non-ASCII code point and scans the whole
| input each round, so a label of distinct non-ASCII characters costs
| the square of its length before the limit rejects it. Every ASCII
| conversion in the distribution, including domain_to_ascii and
| email_to_ascii, goes through to_ascii.


CVE-2026-87082[6]:
| Net::IDN::Punycode versions before 2.590 for Perl hang, crash or
| return a wrong label via unvalidated malformed UTF-8 in
| encode_punycode.  Neither backend checks that its input is well-
| formed UTF-8, so a string with the UTF-8 flag set over malformed
| bytes, as the :utf8 PerlIO layer produces from any malformed input,
| reaches the encoder unchecked. On perl 5.32 and later the XS backend
| reports a malformed sequence with a length of `(STRLEN)-1`, so the
| scan steps back one byte instead of forward and never ends. On
| earlier perls the XS returns a valid label for a different name. The
| pure-Perl backend runs a regex over the flagged string. Depending on
| the bytes, it aborts with SIGBUS on perl 5.28 and later, dies with a
| panic, or returns a wrong label.  The documented conversion
| functions match the label against Unicode properties first and that
| match dies on such a string, so only a direct call to
| encode_punycode reaches the defect. The decoder is not affected.  A
| direct caller encoding attacker-supplied bytes hangs, crashes or
| gets a label for a name the input never held.


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-74765
    https://www.cve.org/CVERecord?id=CVE-2026-74765
[1] https://security-tracker.debian.org/tracker/CVE-2026-74766
    https://www.cve.org/CVERecord?id=CVE-2026-74766
[2] https://security-tracker.debian.org/tracker/CVE-2026-87078
    https://www.cve.org/CVERecord?id=CVE-2026-87078
[3] https://security-tracker.debian.org/tracker/CVE-2026-87079
    https://www.cve.org/CVERecord?id=CVE-2026-87079
[4] https://security-tracker.debian.org/tracker/CVE-2026-87080
    https://www.cve.org/CVERecord?id=CVE-2026-87080
[5] https://security-tracker.debian.org/tracker/CVE-2026-87081
    https://www.cve.org/CVERecord?id=CVE-2026-87081
[6] https://security-tracker.debian.org/tracker/CVE-2026-87082
    https://www.cve.org/CVERecord?id=CVE-2026-87082

Regards,
Salvatore

--- End Message ---
--- Begin Message ---
Source: libnet-idn-encode-perl
Source-Version: 2.600-1
Done: gregor herrmann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libnet-idn-encode-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <[email protected]> (supplier of updated libnet-idn-encode-perl 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 31 Oct 2026 02:21:37 +0100
Source: libnet-idn-encode-perl
Architecture: source
Version: 2.600-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <[email protected]>
Changed-By: gregor herrmann <[email protected]>
Closes: 1148729
Changes:
 libnet-idn-encode-perl (2.600-1) unstable; urgency=medium
 .
   * Team upload.
   * Import upstream version 2.600.
     - fix CVE-2026-74766, a heap use-after-free in the XS decode_punycode
     - fix CVE-2026-74765, an integer overflow and out-of-bounds read in the
       XS encode_punycode
     - fix CVE-2026-87078, memory leaks when the XS functions reject input
     - fix CVE-2026-87079, quadratic decoding of large labels
     - fix CVE-2026-87080, the pure-Perl decoder accepting a truncated label
     - fix CVE-2026-87081, quadratic encoding of overlong labels in to_ascii
     - fix CVE-2026-87082, the XS encode_punycode looping for ever on
       malformed UTF-8 input
     Closes: #1148729
   * Add test dependency on libtest-leaktrace-perl.
Checksums-Sha1:
 bfc9ba9362bbc2ca44fef5d7720650db91095eff 2535 
libnet-idn-encode-perl_2.600-1.dsc
 a56ca81236273a6a2821286ad59883a8f9852b95 656945 
libnet-idn-encode-perl_2.600.orig.tar.gz
 853d21b9c26c3f6ed10e3b3b58765ef28f5fd20f 4084 
libnet-idn-encode-perl_2.600-1.debian.tar.xz
 00b3fd487f4a0fb66d33fda5f76fe78a93c5d882 949676 
libnet-idn-encode-perl_2.600-1.git.tar.xz
 3df8223d095beca11d2f90103a139a4490aa6ecd 17797 
libnet-idn-encode-perl_2.600-1_source.buildinfo
Checksums-Sha256:
 06b2fa4cafa297ac706bfbd22cbfdd1cc2367cb85a86b074517793a331ad208d 2535 
libnet-idn-encode-perl_2.600-1.dsc
 104f56c025ca7c914741bd860d0faee988242b9fa5043885fdf024e870df7bf3 656945 
libnet-idn-encode-perl_2.600.orig.tar.gz
 48dc63e6b1e00ec27cabaf898f11807b41eb51ae877c3e9fb26db9bf7e422468 4084 
libnet-idn-encode-perl_2.600-1.debian.tar.xz
 3f7f23793a89863770a45e6b9c2bf332c7fe5068e82a0a4b9e45205b7552845c 949676 
libnet-idn-encode-perl_2.600-1.git.tar.xz
 199a6c8e2f774ccb8c0d95d6cdbeed873e3322f71b2e2d6bc14e504d86a31664 17797 
libnet-idn-encode-perl_2.600-1_source.buildinfo
Files:
 45ae6b1facc937f5efbd704eaa40dadf 2535 perl optional 
libnet-idn-encode-perl_2.600-1.dsc
 a28cd955a4746958e51cc661798a5f7d 656945 perl optional 
libnet-idn-encode-perl_2.600.orig.tar.gz
 bd86005f02dc654399f067a3973793ef 4084 perl optional 
libnet-idn-encode-perl_2.600-1.debian.tar.xz
 f3fd8734197d12b8f46be6682d94df47 949676 perl None 
libnet-idn-encode-perl_2.600-1.git.tar.xz
 db005e6ddcba58c09dd5a3a2bee3cdc0 17797 perl optional 
libnet-idn-encode-perl_2.600-1_source.buildinfo
Git-Tag-Info: tag=89d99cd9f61bd9b18c286ee91859bb190062d54a 
fp=d1e1316e93a760a8104d85fabb3a68018649aa06
Git-Tag-Tagger: gregor herrmann <[email protected]>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrlQ1gACgkQYG0ITkaD
wHmIQRAAuT4m8BWCmEZcEbb/VxZ6R43H9QbnJ/nUhVH+UjaDFpBPB/5DeikERIy5
jt/zESnZbcFEdCX8nc9hnftJilB2mOGLt/7vGKTFkG8UiUBTi/RNhaSTy/vNtEhb
1+K4kPzVNqb0B8Av92m8cgseT7yuvqGd5EO+74MtLtYXeZZ+1vUkxdD7IGBzSRr9
TkXN0OY3Z4SHohSCatVmMv9JP1L0MrDqZni+s0dOMYc6Gs/q36JLXMW2o14d9KF3
SkJ214p7GS8lwGu0+T9+iyUyzf8nZfgJ9pBwqIn8vxe4jX5lW8STwsXUoSVOeRZ6
jXmelzdxI1YdQC+u0CV67gQMz2ZL138m+SN0FjfIA5wWdlGfekWuqGXYIaH2dhDu
6S6JQmbBflTpk7xLQTA6Kl0UGEhLtL25O1BriKR4ZfhjRFNmdsq4tYZweM1xQ6i3
fe/oohz8RB0JuFVMT8EoRWMA4Op4uy29nugIRWjQ2p8WEF7F3vqCez6GwAPJg2Hk
ZlIOUA4f4XChxvZ89kE2Oy70xO3XiezAAC0lF8i8hhPBu+AFmsXh1M3gu+IwLB+t
y0y7ev3QabiImRrDaQIa2t1CeaRJs1ytJHlr12oc3CcZ5mu5Aa3ne1EwPyYiRx2n
xDGbTQlHso692litM4EhvsYdct4YaZEYu5cY33hJbFC3hhnk0yk=
=M7PR
-----END PGP SIGNATURE-----

Attachment: pgpC8f8XRxD3o.pgp
Description: PGP signature


--- End Message ---

Reply via email to