{"id":"UBUNTU-CVE-2026-9265","details":"Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a heap OOB read in print_attribute UTF8STRING path. print_attribute() copies a UTF8STRING ASN.1 attribute value into a heap buffer sized exactly to its declared length via strncpy, leaving no NUL terminator. Downstream callers run strlen() on the result and pass the inflated length to newSVpvn(), copying attacker-influenced adjacent heap bytes into a Perl scalar.","modified":"2026-06-24T11:00:48.666863776Z","published":"2026-06-20T02:16:00Z","upstream":["CVE-2026-9265"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-9265"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-9265"},{"type":"REPORT","url":"https://github.com/dsully/perl-crypt-openssl-pkcs12/issues/55"}],"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-9265.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-9265.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-9265.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-9265.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-9265.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_version":"1.94-1","binary_name":"libcrypt-openssl-pkcs12-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9265.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:N/A:H"},{"type":"Ubuntu","score":"medium"}]}