Home

Description

Crypt::OpenSSL::X509 versions before 2.1.3 for Perl allow denial of service via NULL pointer dereference. X509V3_EXT_d2i(ext) returns NULL when an extension's DER value fails to parse. basicC, ia5string, and auth_att dereference its result without a NULL check. keyid_data also dereferences akid->keyid, which is NULL for an empty AKI SEQUENCE (DER 30 00) even when the parse succeeds. A caller invoking an affected helper on an extension from an untrusted certificate triggers a SIGSEGV that crashes the Perl process.

PUBLISHED Reserved 2026-06-29 | Published 2026-07-13 | Updated 2026-07-14 | Assigner CPANSec

Problem types

CWE-476 NULL Pointer Dereference

Product status

Default status
unaffected

Any version before 2.1.3
affected

References

github.com/...4c1e2370556097c253ae27abe9e1097ea377fbd2.patch patch

metacpan.org/...N/Crypt-OpenSSL-X509-2.1.3/source/Changes.md release-notes

cve.org (CVE-2026-58101)

nvd.nist.gov (CVE-2026-58101)

Download JSON