{"id":"UBUNTU-CVE-2026-58102","details":"Crypt::OpenSSL::X509 versions before 2.1.3 for Perl allow a heap out-of-bounds read via a long certificate extension OID in hv_exts. When building the extension hash (via extensions(), extensions_by_long_name(), extensions_by_oid(), or has_extension_oid()), the code passes OBJ_obj2txt()'s return value as the hash-key length; because that value is the OID's full text length rather than the bytes written to the fixed-size buffer (129 bytes), an OID whose text is longer than the 129-byte buffer causes a read past the allocation, exposing adjacent heap memory as the returned hash key. extensions_by_name() uses the static shortname path and is not affected.","modified":"2026-07-15T19:48:17.978251438Z","published":"2026-07-13T23:16:00Z","upstream":["CVE-2026-58102"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-58102"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-58102"},{"type":"REPORT","url":"https://lists.security.metacpan.org/cve-announce/msg/41792355/"}],"affected":[{"package":{"name":"libcrypt-openssl-x509-perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-openssl-x509-perl?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.6-1","1.8.6-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.8.6-1build1","binary_name":"libcrypt-openssl-x509-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58102.json"}},{"package":{"name":"libcrypt-openssl-x509-perl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-openssl-x509-perl?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.7-3build1","1.8.8-1","1.8.8-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-openssl-x509-perl","binary_version":"1.8.8-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58102.json"}},{"package":{"name":"libcrypt-openssl-x509-perl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-openssl-x509-perl?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.12-1","1.8.12-1build1","1.8.13-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.8.13-1","binary_name":"libcrypt-openssl-x509-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58102.json"}},{"package":{"name":"libcrypt-openssl-x509-perl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-openssl-x509-perl?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.02-1","1.9.10-1","1.9.10-1build1","1.9.12-1","1.9.12-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.9.12-1build1","binary_name":"libcrypt-openssl-x509-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58102.json"}},{"package":{"name":"libcrypt-openssl-x509-perl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-openssl-x509-perl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.14-2","1.9.15-1","1.9.15-1build1","1.9.15-1build3","1.9.15-1build4"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-openssl-x509-perl","binary_version":"1.9.15-1build4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58102.json"}},{"package":{"name":"libcrypt-openssl-x509-perl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-openssl-x509-perl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.1-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-openssl-x509-perl","binary_version":"2.0.1-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58102.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"}]}