CVEfocus › CVE database › CVE-2026-58101

CVE-2026-58101Crypt::OpenSSL::X509 versions before 2.1.3 for Perl allow denial of service via NULL…

CVSS 7.5 HighEPSS 0.3% (higher than 16% of CVEs)Published 2026-07-13Updated 2026-07-14Assigner: CPANSec

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.

CWE-476

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

2Fixed
6Fix pending
3Under investigation

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libcrypt-openssl-x509-perlFix pendingUBUNTU-CVE-2026-58101
Ubuntu 26.04libcrypt-openssl-x509-perlUnder investigationUBUNTU-CVE-2026-58101
Ubuntu 24.04libcrypt-openssl-x509-perlUnder investigationUBUNTU-CVE-2026-58101
Ubuntu 22.04libcrypt-openssl-x509-perlUnder investigationUBUNTU-CVE-2026-58101
Ubuntu 20.04libcrypt-openssl-x509-perlFix pendingUBUNTU-CVE-2026-58101
Ubuntu 18.04libcrypt-openssl-x509-perlFix pendingUBUNTU-CVE-2026-58101
Ubuntu 16.04libcrypt-openssl-x509-perlFix pendingUBUNTU-CVE-2026-58101
Debian 14libcrypt-openssl-x509-perlFixed2.1.3-1DEBIAN-CVE-2026-58101
Debian 13libcrypt-openssl-x509-perlFix pendingDEBIAN-CVE-2026-58101
Debian 12libcrypt-openssl-x509-perlFix pendingDEBIAN-CVE-2026-58101
Alpine Linux 3.24perl-crypt-openssl-x509Fixed2.1.3-r0ALPINE-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.

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:

References

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.