Out-of-bounds read in JONASBN Crypt::OpenSSL::X509
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.
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. 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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Crypt::OpenSSL::X509 (JONASBN) Fixed in 2.1.3
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
JONASBN Crypt::OpenSSL::X509 2.1.3
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-41848 NULL pointer dereference in JONASBN Crypt::OpenSSL::X509Priority LOW 39
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-58102
- 2026-10-03 Alias added: GHSA-crh7-2j46-hqrj
References
More JONASBN Crypt vulnerabilities
- TI-2026-41848 NULL pointer dereference in JONASBN Crypt::OpenSSL::X509 CVSS 3.1HIGH 7.5
Sources
- CVE-2026-58102 · CVE Program
- CVE-2026-58102 · NVD
- FIRST EPSS
- GHSA-crh7-2j46-hqrj · GitHub Advisory Database · CC BY 4.0
- CVE-2026-58102 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences