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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | perl-crypt-openssl-x509 | 2.1.3-r0 | ALPINE-CVE-2026-58101 |
| Debian:12 | libcrypt-openssl-x509-perl | no fix listed | DEBIAN-CVE-2026-58101 |
| Debian:13 | libcrypt-openssl-x509-perl | no fix listed | DEBIAN-CVE-2026-58101 |
| Debian:14 | libcrypt-openssl-x509-perl | 2.1.3-1 | DEBIAN-CVE-2026-58101 |
| Ubuntu:22.04:LTS | libcrypt-openssl-x509-perl | no fix listed | UBUNTU-CVE-2026-58101 |
| Ubuntu:24.04:LTS | libcrypt-openssl-x509-perl | no fix listed | UBUNTU-CVE-2026-58101 |
| Ubuntu:26.04:LTS | libcrypt-openssl-x509-perl | no fix listed | UBUNTU-CVE-2026-58101 |
| Ubuntu:26.10 | libcrypt-openssl-x509-perl | no fix listed | UBUNTU-CVE-2026-58101 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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