{"id":"CVE-2026-8507","aliases":["DEBIAN-CVE-2026-8507","EUVD-2026-30708","GHSA-3qmj-qw66-fwx8","UBUNTU-CVE-2026-8507"],"status":"published","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 \u003e= 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().","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.00648,"percentile":0.51404,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2026-05-17T18:43:05Z","modified":"2026-10-28T02:31:15Z","fixes":[{"ecosystem":"Debian:14","package":"libcrypt-openssl-pkcs12-perl","fixed_in":["1.95-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:13","package":"libcrypt-openssl-pkcs12-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.94-1","1.95-1","1.96-1","1.97-1","1.98-1","1.99-1"]},{"source":"osv","ecosystem":"Debian:14","package":"libcrypt-openssl-pkcs12-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.95-1"}]}],"versions":["1.94-1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libcrypt-openssl-pkcs12-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7-1","0.7-1build1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libcrypt-openssl-pkcs12-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7-3ubuntu2","0.8-1","0.8-1build1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libcrypt-openssl-pkcs12-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2-1","1.2-1build1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libcrypt-openssl-pkcs12-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9-2","1.9-3","1.9-3build1","1.9-3build3","1.9-3build4"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libcrypt-openssl-pkcs12-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.94-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libcrypt-openssl-pkcs12-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.94-1","1.95-1","1.96-1","1.97-1","1.99-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libcrypt-openssl-pkcs12-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.94-1"]}],"products":[{"vendor":"jonasbn","product":"crypt::openssl::pkcs12"}],"references":[{"url":"https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.95/view/Changes.md","tags":["release-notes","advisory","report"]},{"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/55","tags":["issue-tracking","report"]},{"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/56","tags":["issue-tracking","report"]},{"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/b9d0469c6d8f5b5c6c2a45a3d0647a532b749397.patch","tags":["patch","fix","report"]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/17/5","tags":["web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8507","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-3qmj-qw66-fwx8"},{"url":"https://cpan.org/modules","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8507.json","tags":["advisory"]},{"url":"https://github.com/dsully/perl-crypt-openssl-pkcs12","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-8507","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-8507","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-8507","tags":["report"]},{"url":"https://lists.security.metacpan.org/cve-announce/msg/40149247/","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-8507","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 \u003e= 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().","status":"published","published":"2026-05-17T18:43:05.863Z","modified":"2026-05-18T12:55:51.157Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T13:48:02.226896Z"}],"euvd":[{"id":"EUVD-2026-30708","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 \u003e= 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().","status":"published","published":"2026-05-17T18:43:05Z","modified":"2026-05-18T12:55:51Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T18:21:16.642345Z"}],"ghsa":[{"id":"GHSA-3qmj-qw66-fwx8","title":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl have out of bound (OOB) write flaws.\n\nWhen...","description":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl have out of bound (OOB) write flaws.\n\nWhen parsing a PKCS12 file, with a \u003e= 1 GiB OCTET STRING (or BIT STRING) attribute on a SAFEBAG, via info() or info_as_hash(), a heap-OOB-WRITE would be triggered which could have Remote Code Execution (RCE) potential.","status":"published","published":"2026-05-17T21:30:28Z","modified":"2026-05-18T15:30:37Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:08:11.468783Z"}],"nvd":[{"id":"CVE-2026-8507","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 \u003e= 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().","status":"published","published":"2026-05-17T19:16:24.59Z","modified":"2026-10-26T13:10:00.14Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:12:19.39893Z"}],"osv":[{"id":"CVE-2026-8507","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 \u003e= 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().","status":"published","published":"2026-05-17T18:43:05.863Z","modified":"2026-10-28T02:31:15.104477669Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:45:18.482949Z"},{"id":"DEBIAN-CVE-2026-8507","description":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl have out-of-bounds (OOB) write flaws.  When parsing a PKCS12 file, with a \u003e= 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().","status":"published","published":"2026-05-17T19:16:24.59Z","modified":"2026-10-27T09:47:36.903850864Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:46:05.022702Z"},{"id":"UBUNTU-CVE-2026-8507","description":"Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl have out-of-bounds (OOB) write flaws. When parsing a PKCS12 file, with a \u003e= 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().","status":"published","published":"2026-05-17T19:16:00Z","modified":"2026-10-17T13:01:12.999521681Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T16:57:24.828975Z"}]}}
