Vulnerability · Published Jul 13, 2026 · Assigned by CPANSec

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

High 7.5

In plain English

A high-severity null pointer dereference in Crypt::OpenSSL::X509 from JONASBN. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.3%top 76.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.24perl-crypt-openssl-x5092.1.3-r0ALPINE-CVE-2026-58101
Debian:12libcrypt-openssl-x509-perlno fix listedDEBIAN-CVE-2026-58101
Debian:13libcrypt-openssl-x509-perlno fix listedDEBIAN-CVE-2026-58101
Debian:14libcrypt-openssl-x509-perl2.1.3-1DEBIAN-CVE-2026-58101
Ubuntu:22.04:LTSlibcrypt-openssl-x509-perlno fix listedUBUNTU-CVE-2026-58101
Ubuntu:24.04:LTSlibcrypt-openssl-x509-perlno fix listedUBUNTU-CVE-2026-58101
Ubuntu:26.04:LTSlibcrypt-openssl-x509-perlno fix listedUBUNTU-CVE-2026-58101
Ubuntu:26.10libcrypt-openssl-x509-perlno fix listedUBUNTU-CVE-2026-58101

Affected products (as reported)

VendorProductVersions
JONASBN Crypt::OpenSSL::X509 0 – before 2.1.3

Weakness: CWE-476 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References