{"api_version":"1","generated_at":"2026-05-18T03:59:02+00:00","cve":"CVE-2026-8507","urls":{"html":"https://cve.report/CVE-2026-8507","api":"https://cve.report/api/cve/CVE-2026-8507.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-8507","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-8507"},"summary":{"title":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl have out-of-bounds (OOB) write flaws","description":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl have out-of-bounds (OOB) write flaws.\n\nWhen parsing a PKCS12 file, with a >= 1 GiB OCTET STRING (or BIT STRING) attribute on a SAFEBAG, via info() or info_as_hash(), a heap out-of-bounds write would be triggered with remote-code-execution potential (RCE) due to a signed integer overflow in the size calculation passed to Renew().","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-05-17 19:16:24","updated_at":"2026-05-18 00:16:36"},"problem_types":["CWE-787","CWE-787 CWE-787 Out-of-bounds Write"],"metrics":[],"references":[{"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/55","name":"https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/55","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/56","name":"https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/56","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.95/view/Changes.md","name":"https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.95/view/Changes.md","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/b9d0469c6d8f5b5c6c2a45a3d0647a532b749397.patch","name":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/b9d0469c6d8f5b5c6c2a45a3d0647a532b749397.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"http://www.openwall.com/lists/oss-security/2026/05/17/5","name":"http://www.openwall.com/lists/oss-security/2026/05/17/5","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-8507","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8507","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"JONASBN","product":"Crypt::OpenSSL::PKCS12","version":"affected 1.94 custom","platforms":[]}],"timeline":[{"source":"CNA","time":"2026-05-13T00:00:00.000Z","lang":"en","value":"Issue discovered"},{"source":"CNA","time":"2026-05-16T00:00:00.000Z","lang":"en","value":"Maintainer notified"},{"source":"CNA","time":"2026-05-17T00:00:00.000Z","lang":"en","value":"Public disclosure"},{"source":"CNA","time":"2026-05-17T00:00:00.000Z","lang":"en","value":"Crypt-OpenSSL-PKCS12 1.95 released."}],"solutions":[{"source":"CNA","title":"","value":"Upgrade to 1.95 or later.","time":"","lang":"en"}],"workarounds":[{"source":"CNA","title":"","value":"Do not parse untrusted PKCS12 files via info or info_as_hash.","time":"","lang":"en"}],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2026-05-17T21:18:33.078Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"http://www.openwall.com/lists/oss-security/2026/05/17/5"}],"title":"CVE Program Container"}],"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"Crypt-OpenSSL-PKCS12","product":"Crypt::OpenSSL::PKCS12","programFiles":["PKCS12.xs"],"programRoutines":[{"name":"Crypt::OpenSSL::PKCS12::info"},{"name":"Crypt::OpenSSL::PKCS12::info_as_hash"}],"repo":"https://github.com/dsully/perl-crypt-openssl-pkcs12","vendor":"JONASBN","versions":[{"lessThanOrEqual":"1.94","status":"affected","version":"0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl have out-of-bounds (OOB) write flaws.\n\nWhen parsing a PKCS12 file, with a >= 1 GiB OCTET STRING (or BIT STRING) attribute on a SAFEBAG, via info() or info_as_hash(), a heap out-of-bounds write would be triggered with remote-code-execution potential (RCE) due to a signed integer overflow in the size calculation passed to Renew()."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","description":"CWE-787 Out-of-bounds Write","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-05-18T00:08:32.838Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["release-notes"],"url":"https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.95/view/Changes.md"},{"tags":["issue-tracking"],"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/55"},{"tags":["issue-tracking"],"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/56"},{"tags":["patch"],"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/b9d0469c6d8f5b5c6c2a45a3d0647a532b749397.patch"}],"solutions":[{"lang":"en","value":"Upgrade to 1.95 or later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-05-13T00:00:00.000Z","value":"Issue discovered"},{"lang":"en","time":"2026-05-16T00:00:00.000Z","value":"Maintainer notified"},{"lang":"en","time":"2026-05-17T00:00:00.000Z","value":"Public disclosure"},{"lang":"en","time":"2026-05-17T00:00:00.000Z","value":"Crypt-OpenSSL-PKCS12 1.95 released."}],"title":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl have out-of-bounds (OOB) write flaws","workarounds":[{"lang":"en","value":"Do not parse untrusted PKCS12 files via info or info_as_hash."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-8507","datePublished":"2026-05-17T18:43:05.863Z","dateReserved":"2026-05-13T22:45:07.737Z","dateUpdated":"2026-05-18T00:08:32.838Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-17 19:16:24","lastModifiedDate":"2026-05-18 00:16:36","problem_types":["CWE-787","CWE-787 CWE-787 Out-of-bounds Write"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"8507","Ordinal":"1","Title":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl have out-o","CVE":"CVE-2026-8507","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"8507","Ordinal":"1","NoteData":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl have out-of-bounds (OOB) write flaws.\n\nWhen parsing a PKCS12 file, with a >= 1 GiB OCTET STRING (or BIT STRING) attribute on a SAFEBAG, via info() or info_as_hash(), a heap out-of-bounds write would be triggered with remote-code-execution potential (RCE) due to a signed integer overflow in the size calculation passed to Renew().","Type":"Description","Title":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl have out-o"}]}}}