DEBIAN-CVE-2026-126568

Source
https://security-tracker.debian.org/tracker/CVE-2026-126568
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-126568.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-126568
Upstream
Published
2026-11-20T01:17:08Z
Modified
2026-11-20T08:01:03Z
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / libconvert-asn1-perl

Package

Name
libconvert-asn1-perl
Purl
pkg:deb/debian/libconvert-asn1-perl?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.33-1
0.34-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-126568.json"

Debian:13 / libconvert-asn1-perl

Package

Name
libconvert-asn1-perl
Purl
pkg:deb/debian/libconvert-asn1-perl?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.34-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-126568.json"

Debian:14 / libconvert-asn1-perl

Package

Name
libconvert-asn1-perl
Purl
pkg:deb/debian/libconvert-asn1-perl?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.34-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-126568.json"