{"id":"UBUNTU-CVE-2026-8507","details":"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().","modified":"2026-05-20T22:03:09.965553119Z","published":"2026-05-17T19:16:00Z","upstream":["CVE-2026-8507"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-8507"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-8507"},{"type":"REPORT","url":"https://lists.security.metacpan.org/cve-announce/msg/40149247/"},{"type":"REPORT","url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/55"},{"type":"REPORT","url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/56"},{"type":"REPORT","url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/b9d0469c6d8f5b5c6c2a45a3d0647a532b749397.patch"},{"type":"REPORT","url":"https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.95/view/Changes.md"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2026/05/17/5"}],"affected":[{"package":{"name":"libcrypt-openssl-pkcs12-perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7-1","0.7-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-openssl-pkcs12-perl","binary_version":"0.7-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8507.json"}},{"package":{"name":"libcrypt-openssl-pkcs12-perl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7-3ubuntu2","0.8-1","0.8-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-openssl-pkcs12-perl","binary_version":"0.8-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8507.json"}},{"package":{"name":"libcrypt-openssl-pkcs12-perl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2-1","1.2-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-openssl-pkcs12-perl","binary_version":"1.2-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8507.json"}},{"package":{"name":"libcrypt-openssl-pkcs12-perl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9-2","1.9-3","1.9-3build1","1.9-3build3","1.9-3build4"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-openssl-pkcs12-perl","binary_version":"1.9-3build4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8507.json"}},{"package":{"name":"libcrypt-openssl-pkcs12-perl","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.94-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-openssl-pkcs12-perl","binary_version":"1.94-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8507.json"}},{"package":{"name":"libcrypt-openssl-pkcs12-perl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.94-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-openssl-pkcs12-perl","binary_version":"1.94-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8507.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}