CVE-2026-58101Crypt::OpenSSL::X509 versions before 2.1.3 for Perl allow denial of service via NULL…
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.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libcrypt-openssl-x509-perl | Fix pending | UBUNTU-CVE-2026-58101 | |
| Ubuntu 26.04 | libcrypt-openssl-x509-perl | Under investigation | UBUNTU-CVE-2026-58101 | |
| Ubuntu 24.04 | libcrypt-openssl-x509-perl | Under investigation | UBUNTU-CVE-2026-58101 | |
| Ubuntu 22.04 | libcrypt-openssl-x509-perl | Under investigation | UBUNTU-CVE-2026-58101 | |
| Ubuntu 20.04 | libcrypt-openssl-x509-perl | Fix pending | UBUNTU-CVE-2026-58101 | |
| Ubuntu 18.04 | libcrypt-openssl-x509-perl | Fix pending | UBUNTU-CVE-2026-58101 | |
| Ubuntu 16.04 | libcrypt-openssl-x509-perl | Fix pending | UBUNTU-CVE-2026-58101 | |
| Debian 14 | libcrypt-openssl-x509-perl | Fixed | 2.1.3-1 | DEBIAN-CVE-2026-58101 |
| Debian 13 | libcrypt-openssl-x509-perl | Fix pending | DEBIAN-CVE-2026-58101 | |
| Debian 12 | libcrypt-openssl-x509-perl | Fix pending | DEBIAN-CVE-2026-58101 | |
| Alpine Linux 3.24 | perl-crypt-openssl-x509 | Fixed | 2.1.3-r0 | ALPINE-CVE-2026-58101 |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- JONASBN Crypt::OpenSSL::X509: affected: before 2.1.3; fixed in
2.1.3
Solution: Upgrade to Crypt::OpenSSL::X509 2.1.3 or later, which NULL-checks each X509V3_EXT_d2i result and the optional keyid field before dereferencing.
Vendor advisories:
- https://github.com/dsully/perl-crypt-openssl-x509/commit/4c1e2370556097c253ae27abe9e1097e… (patch)
- https://metacpan.org/release/JONASBN/Crypt-OpenSSL-X509-2.1.3/source/Changes.md (release-notes)
References
- https://github.com/dsully/perl-crypt-openssl-x509/commit/4c1e2370556097c253ae27abe9e1097ea377fbd2.patch
- https://metacpan.org/release/JONASBN/Crypt-OpenSSL-X509-2.1.3/source/Changes.md
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.