CVE-2026-58102
published critical CVSS 3.1 · 9.1Crypt::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
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| JONASBN | — | Crypt-OpenSSL-X509Crypt::OpenSSL::X509 · 0 to < 2.1.3 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Alpine Linux | edge | perl-crypt-openssl-x509 | Fixed | 2.1.3-r0 | Package fix record |
| Alpine Linux | v3.24 | perl-crypt-openssl-x509 | Fixed | 2.1.3-r0 | Package fix record |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| JONASBN | Crypt::OpenSSL::X509 | 0 to < 2.1.3 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-125 CWE-125 Out-of-bounds Read
References
2Provider assertions
2CPANSec · cna
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
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- eed59f76bc573241a36aa270a077ecfc8cd1df354d70fc58c9e71912d0b39b53
- Ingested
- 23 Sep 2026, 09:22:08 UTC
- Source record
- Official CVE record