{"id":"CVE-2026-58101","state":"PUBLISHED","title":"Crypt::OpenSSL::X509 versions before 2.1.3 for Perl allow denial of service via NULL pointer dereference","description":"Crypt::OpenSSL::X509 versions before 2.1.3 for Perl allow denial of service via NULL pointer dereference.\n\nX509V3_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.\n\nA caller invoking an affected helper on an extension from an untrusted certificate triggers a SIGSEGV that crashes the Perl process.","publishedAt":"2026-07-13T22:17:48.375Z","updatedAt":"2026-07-14T12:45:11.194Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"CPANSec","products":["JONASBN Crypt::OpenSSL::X509"],"affected":[{"vendor":"JONASBN","product":"Crypt::OpenSSL::X509","packageName":"Crypt-OpenSSL-X509","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.1.3","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["X509.xs"],"programRoutines":[{"name":"Crypt::OpenSSL::X509::Extension::basicC"},{"name":"Crypt::OpenSSL::X509::Extension::ia5string"},{"name":"Crypt::OpenSSL::X509::Extension::auth_att"},{"name":"Crypt::OpenSSL::X509::Extension::keyid_data"}],"repo":"https://github.com/dsully/perl-crypt-openssl-x509"}],"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"],"weaknesses":["CWE-476"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/58xxx/CVE-2026-58101.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-58101","state":"PUBLISHED","datePublished":"2026-07-13T22:17:48.375Z","dateUpdated":"2026-07-14T12:45:11.194Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-06-29T06:35:04.717Z"},"containers":{"cna":{"title":"Crypt::OpenSSL::X509 versions before 2.1.3 for Perl allow denial of service via NULL pointer dereference","descriptions":[{"lang":"en","value":"Crypt::OpenSSL::X509 versions before 2.1.3 for Perl allow denial of service via NULL pointer dereference.\n\nX509V3_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.\n\nA caller invoking an affected helper on an extension from an untrusted certificate triggers a SIGSEGV that crashes the Perl process."}],"affected":[{"vendor":"JONASBN","product":"Crypt::OpenSSL::X509","packageName":"Crypt-OpenSSL-X509","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.1.3","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["X509.xs"],"programRoutines":[{"name":"Crypt::OpenSSL::X509::Extension::basicC"},{"name":"Crypt::OpenSSL::X509::Extension::ia5string"},{"name":"Crypt::OpenSSL::X509::Extension::auth_att"},{"name":"Crypt::OpenSSL::X509::Extension::keyid_data"}],"repo":"https://github.com/dsully/perl-crypt-openssl-x509"}],"references":[{"url":"https://github.com/dsully/perl-crypt-openssl-x509/commit/4c1e2370556097c253ae27abe9e1097ea377fbd2.patch","tags":["patch"]},{"url":"https://metacpan.org/release/JONASBN/Crypt-OpenSSL-X509-2.1.3/source/Changes.md","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","description":"CWE-476 NULL Pointer Dereference","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-07-13T22:17:48.375Z"},"solutions":[{"lang":"en","value":"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."}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-07-14T12:45:04.507035Z","id":"CVE-2026-58101","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-14T12:45:11.194Z"}}]}}}