CVE-2026-58102: 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

Published Jul 13, 2026
·
Updated

Crypt::OpenSSL::X509 versions before 2.1.3 for Perl allow a heap out-of-bounds read via a long certificate extension OID in hvexts.

When building the extension hash (via extensions(), extensionsbylongname(), extensionsbyoid(), or hasextensionoid()), the code passes OBJobj2txt()'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. extensionsbyname() uses the static shortname path and is not affected.

Affected Software

2 affected components
OpenSSL Crypt::OpenSSL::X509<2.1.3
Jonasbn Crypt\<2.1.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Crypt::OpenSSL::X509 to a version that resolves this vulnerability.

    Fixed in 2.1.3

Event History

Jul 13, 2026
CVE Published
via MITRE·10:22 PM
Data Sourced
via MITRE·10:22 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·11:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-58102?

CVE-2026-58102 has a critical severity rating of 9.1.

2

How do I fix CVE-2026-58102?

To fix CVE-2026-58102, update Crypt::OpenSSL::X509 to version 2.1.3 or later.

3

What are the risks associated with CVE-2026-58102?

CVE-2026-58102 could allow an attacker to perform a heap out-of-bounds read, potentially exposing sensitive data.

4

What software is affected by CVE-2026-58102?

CVE-2026-58102 affects versions of Crypt::OpenSSL::X509 prior to 2.1.3 for Perl.

5

When was CVE-2026-58102 published?

CVE-2026-58102 was published on July 13, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203