CVE-2026-58101: CWE-476 NULL Pointer Dereference in JONASBN Crypt::OpenSSL::X509
Crypt::OpenSSL::X509 versions before 2.1.3 for Perl contain a NULL pointer dereference vulnerability that can cause a denial of service. This occurs when certain extensions in a certificate fail to parse correctly, leading to dereferencing of NULL pointers and crashing the Perl process. The issue arises specifically in helper functions handling certificate extensions without proper NULL checks.
AI Analysis
Technical Summary
The vulnerability in Crypt::OpenSSL::X509 (prior to version 2.1.3) involves improper handling of NULL pointers returned by the X509V3_EXT_d2i function when parsing certificate extensions. Functions such as basicC, ia5string, auth_att, and keyid_data dereference these NULL pointers without validation, causing a segmentation fault (SIGSEGV) and crashing the Perl process. This can be triggered by processing untrusted certificates with malformed or empty extension data.
Potential Impact
An attacker can cause a denial of service by supplying a crafted certificate that triggers a NULL pointer dereference in the affected library. This results in a crash of the Perl process using Crypt::OpenSSL::X509, disrupting service availability. There is no indication of code execution or data disclosure from the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted certificates with this library or implement additional input validation to prevent triggering the vulnerable code paths.
CVE-2026-58101: CWE-476 NULL Pointer Dereference in JONASBN Crypt::OpenSSL::X509
Description
Crypt::OpenSSL::X509 versions before 2.1.3 for Perl contain a NULL pointer dereference vulnerability that can cause a denial of service. This occurs when certain extensions in a certificate fail to parse correctly, leading to dereferencing of NULL pointers and crashing the Perl process. The issue arises specifically in helper functions handling certificate extensions without proper NULL checks.
Affected software
pkg:github/Crypt-OpenSSL-X509Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Crypt::OpenSSL::X509 (prior to version 2.1.3) involves improper handling of NULL pointers returned by the X509V3_EXT_d2i function when parsing certificate extensions. Functions such as basicC, ia5string, auth_att, and keyid_data dereference these NULL pointers without validation, causing a segmentation fault (SIGSEGV) and crashing the Perl process. This can be triggered by processing untrusted certificates with malformed or empty extension data.
Potential Impact
An attacker can cause a denial of service by supplying a crafted certificate that triggers a NULL pointer dereference in the affected library. This results in a crash of the Perl process using Crypt::OpenSSL::X509, disrupting service availability. There is no indication of code execution or data disclosure from the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted certificates with this library or implement additional input validation to prevent triggering the vulnerable code paths.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-06-29T06:35:04.717Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5567a468715ace43fd6a45
Added to database: 07/13/2026, 22:33:08 UTC
Last enriched: 07/13/2026, 22:47:34 UTC
Last updated: 07/14/2026, 01:55:13 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.