cve.bz

CVE-2026-58102 jonasbn crypt\: Out-of-bounds Read

9.1 criticalEPSS 0.3%Fix available

Critical (9.1) in jonasbn crypt\. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 28th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-07-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-58102 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-58102?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-58102?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-58102 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • jonasbn:crypt\

Versions

From the CNA's record in the CVE List.

ProductAffected
JONASBN Crypt::OpenSSL::X509before 2.1.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13libcrypt-openssl-x509-perlno fix listedDEBIAN-CVE-2026-58102
Debian14libcrypt-openssl-x509-perl2.1.3-1DEBIAN-CVE-2026-58102
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 morelibcrypt-openssl-x509-perlno fix listedUBUNTU-CVE-2026-58102
Alpinev3.24perl-crypt-openssl-x5092.1.3-r0ALPINE-CVE-2026-58102

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON