{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-126568","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","state":"PUBLISHED","assignerShortName":"CPANSec","dateReserved":"2026-11-11T01:55:10.549Z","datePublished":"2026-11-20T00:23:24.479Z","dateUpdated":"2026-11-20T18:53:34.839Z"},"containers":{"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["Convert::ASN1"],"packageName":"Convert-ASN1","packageURL":"pkg:cpan/Convert-ASN1","programFiles":["lib/Convert/ASN1/IO.pm"],"programRoutines":[{"name":"Convert::ASN1::asn_recv"}],"repo":"https://github.com/cpan-authors/perl-Convert-ASN1","versions":[{"lessThan":"0.37","status":"affected","version":"0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via unbounded MSG_PEEK buffer doubling in asn_recv.\n\nasn_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.\n\nA 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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-835","description":"CWE-835 Loop with Unreachable Exit Condition","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec","dateUpdated":"2026-11-20T00:23:24.479Z"},"references":[{"tags":["patch"],"url":"https://github.com/cpan-authors/perl-Convert-ASN1/commit/a30eae1dc6a977716b76f79f228fa0432e28bc5a.patch"},{"tags":["release-notes"],"url":"https://metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changes"},{"tags":["issue-tracking"],"url":"https://github.com/cpan-authors/perl-Convert-ASN1/issues"}],"solutions":[{"lang":"en","value":"Upgrade to Convert-ASN1 0.37 or later."}],"source":{"discovery":"UNKNOWN"},"title":"Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via unbounded MSG_PEEK buffer doubling in asn_recv","x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-11-20T18:52:42.582821Z","id":"CVE-2026-126568","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-11-20T18:53:34.839Z"}}]}}