{"id":"CVE-2026-58102","summary":"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","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.\n\nWhen 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-16T03:46:22.285600753Z","published":"2026-07-13T22:22:48.618Z","database_specific":{"cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58102.json","cna_assigner":"CPANSec"},"references":[{"type":"WEB","url":"https://cpan.org/modules"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58102.json"},{"type":"ADVISORY","url":"https://metacpan.org/release/JONASBN/Crypt-OpenSSL-X509-2.1.3/source/Changes.md"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58102"},{"type":"FIX","url":"https://github.com/dsully/perl-crypt-openssl-x509/commit/757289bfce095455c104d4adfe9312e7b339620f.patch"},{"type":"PACKAGE","url":"https://github.com/dsully/perl-crypt-openssl-x509"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dsully/perl-crypt-openssl-x509","events":[{"introduced":"0"},{"fixed":"71c450d543472372cfd8f04ef2b6a28dac4bb16b"},{"fixed":"757289bfce095455c104d4adfe9312e7b339620f"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.1.3"}],"source":["DESCRIPTION","REFERENCES"]}}],"versions":["2.1.2","2.1.1","2.1.1-TRIAL","2.1.0-TRIAL","2.0.1","2.0.0","1.9.15","1.9.14","1.9.14-TRIAL","1.9.13","1.9.13-TRIAL","1.9.12","1.9.11","1.9.10","1.9.9","1.9.8","1.9.7","1.9.6","1.9.5","1.9.4","1.9.3","1.9.2","1.9.1","1.9","1.8.13","1.8.12","1.8.11","1.8.10","1.8.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/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"}]}