Your message dated Sat, 21 Nov 2026 17:50:42 +0000
with message-id <[email protected]>
and subject line Bug#1154550: fixed in libconvert-asn1-perl 0.37-1
has caused the Debian Bug report #1154550,
regarding libconvert-asn1-perl: CVE-2026-126540 CVE-2026-126568 CVE-2026-126576
CVE-2026-126682 CVE-2026-126819 CVE-2026-126956 CVE-2026-131868 CVE-2026-131877
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.)
--
1154550: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1154550
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libconvert-asn1-perl
Version: 0.34-1
X-Debbugs-CC: [email protected]
Severity: important
Tags: security upstream
Hi,
The following vulnerabilities were published for libconvert-asn1-perl.
CVE-2026-126540[0]:
| Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via
| quadratic bigint loop in os2ip. Every INTEGER or ENUMERATED longer
| than four content octets reaches os2ip, which iterates over each
| content octet with $result = ($result * 256) + $octet. Each
| multiplication operates on a bigint that grows by one octet per
| step, so decoding an n-octet value takes O(n^2) bigint work. Nothing
| limits content length before this loop runs. An attacker who
| controls the decoded data can exhaust CPU with a single oversized
| INTEGER or ENUMERATED value.
CVE-2026-126568[1]:
| Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion
| via unbounded MSG_PEEK buffer doubling in asn_recv. asn_recv peeks
| the socket in a loop, doubling the buffer size on each pass until a
| tag and length can be decoded. An inverted boolean guard ($tb ||
| rather than $tb &&) prevents the need-more-data exit from firing
| once a tag byte has been decoded. When asn_decode_length returns no
| value because the length is absent or incomplete, no exit fires for
| that case either. MSG_PEEK leaves socket data unconsumed, so each
| re-peek returns at once while the buffer size doubles. A single
| truncated BER header sent to a process calling asn_recv doubles the
| peek buffer until memory is exhausted. Perl's realloc failure is
| fatal and not catchable with eval.
CVE-2026-126576[2]:
| Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via
| unchecked exponent length in binary REAL decoding. Binary REAL
| decoding never bounds-checks the exponent length against the
| available content. For a minimal one-byte binary REAL, the exponent
| byte is read from outside the element, making the mantissa length
| -1. Perl reads a negative length as an offset from the end of the
| string, so the mantissa is nearly all of the input that follows the
| element. The long-form exponent path also omits the extra length
| octet when sizing the mantissa. An attacker who controls the
| decoded data can exhaust CPU with a list of such values, as each
| mantissa loop iterates over the remaining input. The decoded values
| are also computed from bytes outside each element.
CVE-2026-126682[3]:
| Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via
| exponent-notation string in INTEGER encoding. The encoder routes
| any value with abs >= 2**31 to i2osp without validating that it is
| an integer. A string in exponent notation such as "1e8000" passes
| that threshold. Math::BigInt expands it to an 8001-digit integer,
| and i2osp's per-octet conversion loop is quadratic in that size. An
| attacker who controls encoded INTEGER values can exhaust CPU with a
| short exponent-notation string.
CVE-2026-126819[4]:
| Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion
| via zero-length BIT STRING content. A BIT STRING with zero content
| octets passes -1 to substr as the length. Perl reads a negative
| length as an offset from the end of the string, so the decoded value
| is nearly all of the input that follows the element. In the
| constructed form each zero-length segment copies the rest of the
| input again, so memory grows with the square of the input size. An
| attacker who controls the decoded data can exhaust memory with a
| short constructed BIT STRING. The resulting value also contains
| bytes from adjacent input.
CVE-2026-126956[5]:
| Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion
| via unlimited recursion depth in constructed-form string decoding.
| Any constructed-form string element causes the decoder to recurse on
| the element's contents. The BER encoding controls nesting depth at
| four bytes per level, with no bound checked. Perl recursion is heap-
| allocated, so the process grows without a stack crash. An attacker
| who controls the decoded data can exhaust memory with a small deeply
| nested constructed string.
CVE-2026-131868[6]:
| Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion
| via a declared element length passed unchecked to sysread in
| asn_read and asn_get. The length an element declares in its BER
| header is passed to sysread as the read size. Perl grows the target
| buffer to that size before reading, so memory is allocated from the
| declared length, not from the data received. A 6-byte header can
| declare a length of up to 4GB. A single header makes the reading
| process allocate the declared size. Where the allocation fails, perl
| exits with "Out of memory", which eval cannot catch.
CVE-2026-131877[7]:
| Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via
| unbounded arc length in OBJECT IDENTIFIER decoding and encoding.
| The content of an OBJECT IDENTIFIER or RELATIVE-OID element is
| passed to unpack "w*" on decode, and the arcs of an OID string to
| pack "w*" on encode. Perl converts each arc to or from its decimal
| string in time quadratic in the arc's length, and nothing limits
| that length. An attacker who controls the decoded data, or an OID
| string passed to encode, can exhaust CPU with a single oversized
| arc.
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-126540
https://www.cve.org/CVERecord?id=CVE-2026-126540
[1] https://security-tracker.debian.org/tracker/CVE-2026-126568
https://www.cve.org/CVERecord?id=CVE-2026-126568
[2] https://security-tracker.debian.org/tracker/CVE-2026-126576
https://www.cve.org/CVERecord?id=CVE-2026-126576
[3] https://security-tracker.debian.org/tracker/CVE-2026-126682
https://www.cve.org/CVERecord?id=CVE-2026-126682
[4] https://security-tracker.debian.org/tracker/CVE-2026-126819
https://www.cve.org/CVERecord?id=CVE-2026-126819
[5] https://security-tracker.debian.org/tracker/CVE-2026-126956
https://www.cve.org/CVERecord?id=CVE-2026-126956
[6] https://security-tracker.debian.org/tracker/CVE-2026-131868
https://www.cve.org/CVERecord?id=CVE-2026-131868
[7] https://security-tracker.debian.org/tracker/CVE-2026-131877
https://www.cve.org/CVERecord?id=CVE-2026-131877
Regards,
Salvatore
--- End Message ---
--- Begin Message ---
Source: libconvert-asn1-perl
Source-Version: 0.37-1
Done: gregor herrmann <[email protected]>
We believe that the bug you reported is fixed in the latest version of
libconvert-asn1-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 libconvert-asn1-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, 21 Nov 2026 18:22:04 +0100
Source: libconvert-asn1-perl
Architecture: source
Version: 0.37-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <[email protected]>
Changed-By: gregor herrmann <[email protected]>
Closes: 1154550
Changes:
libconvert-asn1-perl (0.37-1) unstable; urgency=medium
.
* Convert debian/watch to version 5.
.
* Import upstream version 0.37.
- CVE-2026-126540:
cap INTEGER/ENUMERATED decode size to prevent quadratic cost
- CVE-2026-126568:
fix asn_recv OOM on truncated header or huge declared length
- CVE-2026-126576:
bounds-check REAL exponent length; fix long-form mantissa size
- CVE-2026-126682:
cap INTEGER/ENUMERATED encode size to prevent quadratic cost
- CVE-2026-126819:
fix zero-length BIT STRING reading past end of buffer
- CVE-2026-126956:
add configurable decode depth limit to prevent stack exhaustion
- CVE-2026-131868:
prevent huge allocations in asn_read and asn_get
- CVE-2026-131877:
limit OBJECT IDENTIFIER arc size to prevent quadratic cost
Closes: #1154550
* Add note about incompatible changes to debian/NEWS.Developer.
* Update years of upstream and packaging copyright.
* Declare compliance with Debian Policy 4.7.4.
* Remove «Rules-Requires-Root: no», which is the current default.
* Remove «Priority: optional», which is the current default.
* Update debian/upstream/metadata.
Checksums-Sha1:
5ba19eba45d3f61327d10b7d7814101774d833eb 2508 libconvert-asn1-perl_0.37-1.dsc
552961a9d298798edf7eeb85f94b83192ee23910 90020
libconvert-asn1-perl_0.37.orig.tar.gz
d7bd56bb4ff77c941960115b8d3e423bd822cd28 4712
libconvert-asn1-perl_0.37-1.debian.tar.xz
2e636d43a7634ccfca7b81436d5e2549930ddb46 188400
libconvert-asn1-perl_0.37-1.git.tar.xz
a51c2f4176a0821366c5306a25ed3de2f8d8aef6 17790
libconvert-asn1-perl_0.37-1_source.buildinfo
Checksums-Sha256:
623e3b2629f14dcb138333cdcf2ef0048553ad1d9f5de51729cb6b6cddc149d9 2508
libconvert-asn1-perl_0.37-1.dsc
012b90bbb931e049340a114dbc510f845309d9ca76cc6c4fad751d317b4bf0fa 90020
libconvert-asn1-perl_0.37.orig.tar.gz
493be5985a2ebfdb4b9877099fbf011b674b09dcddff350c1c8339b56b3e6ee2 4712
libconvert-asn1-perl_0.37-1.debian.tar.xz
5aaab2f162a9369c08e6633bfb2f666b71b476b86a060446bfc75217a3671eac 188400
libconvert-asn1-perl_0.37-1.git.tar.xz
9c2fdd2021d0d2918f0ccf7ed0afd33a4480a4af79aaf0dca60cd549b2486356 17790
libconvert-asn1-perl_0.37-1_source.buildinfo
Files:
f1159972b5dcf18057a578f95bb2d94d 2508 perl optional
libconvert-asn1-perl_0.37-1.dsc
4e1f2a564e90c43398cd275c84dbbcea 90020 perl optional
libconvert-asn1-perl_0.37.orig.tar.gz
4a1e08bdbf02bdabbcf7ffa86e4040ce 4712 perl optional
libconvert-asn1-perl_0.37-1.debian.tar.xz
8f416a0a07177e192a980ce2c2bae3cd 188400 perl None
libconvert-asn1-perl_0.37-1.git.tar.xz
f5e670438cdbca482ff6da935e9e500a 17790 perl optional
libconvert-asn1-perl_0.37-1_source.buildinfo
Git-Tag-Info: tag=c677c3100f64c3a8ed73539316fca8e8a4652c8e
fp=d1e1316e93a760a8104d85fabb3a68018649aa06
Git-Tag-Tagger: gregor herrmann <[email protected]>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmsB1AoACgkQYG0ITkaD
wHkSqQ//S92bAksx7WWHdo+J1vgEyS1iXFZq6kPIEL3yU1a51CWp/gkmcYN92BST
S+4ttv6lw9oKRy09gLFKZyRPU8mfBbo55lSRmRWWDBGi97IZI72QBSjKAnd0dbQ1
K4+PhClGbcUCkUntsiHNfIdZkJtp1JgNDyEKjm+3OvCvx/BnDru4hQRkF2ee+jHy
MYj+iTPNSwYwARrSk6s/3xYemRlFKLxJMO51OMDo+WJFgVIL072KC6FnS+wj2V7E
2bKAxRgLUDuG5eHusNDFoPt0TlhX+w54HsOHXLJ1LKna1KMPtJxxCkSYHr+wVqsV
RzpnhqoUK+zqRjU4YAScKCRljz8FRDQVsxZufOkW8hMTNyyhSf/e4I4nU9ro58W7
da+Pgvkp9bPdf1sY4qt0oxzNZ/PwknM6Zc+smuWnqkKWPDshtDu5AYzYjbypC9Fm
zJRANZgxIdBwVuT1EnHJvSz3JT09owSz8hu6q2AoJu5S0VmOp6v59xK/SUPTK/pp
/eaXT1NAPrEcIbp1/Ss92TMRWpfg1laqntVjU3bd8uby9R930LwiUsGwOHqDRzzs
Wm9G4x7K/YJbVssDvYPytfFztZ3ssI+NwSf6ga9yyvsTctg7C0WY/Y4u9ddk9Gh9
JgN94nVuxUQrxQvx+FUrXoIagpPSaEVmo+UX++Tl+oDcrBOco+0=
=PPFL
-----END PGP SIGNATURE-----
pgpACk9vExWkP.pgp
Description: PGP signature
--- End Message ---