Source: libcrypt-openssl-x509-perl Version: 2.1.2-1 Severity: important Tags: security upstream X-Debbugs-Cc: [email protected], Debian Security Team <[email protected]>
Hi, The following vulnerabilities were published for libcrypt-openssl-x509-perl. CVE-2026-58101[0]: | Crypt::OpenSSL::X509 versions before 2.1.3 for Perl allow denial of | service via NULL pointer dereference. X509V3_EXT_d2i(ext) returns | NULL when an extension's DER value fails to parse. basicC, | ia5string, and auth_att dereference its result without a NULL check. | keyid_data also dereferences akid->keyid, which is NULL for an empty | AKI SEQUENCE (DER 30 00) even when the parse succeeds. A caller | invoking an affected helper on an extension from an untrusted | certificate triggers a SIGSEGV that crashes the Perl process. CVE-2026-58102[1]: | 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. If you fix the vulnerabilities please also make sure to include the CVE (Common Vulnerabilities & Exposures) ids in your changelog entry. For further information see: [0] https://security-tracker.debian.org/tracker/CVE-2026-58101 https://www.cve.org/CVERecord?id=CVE-2026-58101 [1] https://security-tracker.debian.org/tracker/CVE-2026-58102 https://www.cve.org/CVERecord?id=CVE-2026-58102 Please adjust the affected versions in the BTS as needed. Regards, Salvatore

