CVE-2026-31789
CVE-2026-31789 — Heap Buffer Overflow in Hexadecimal Conversion
Issue summary: Converting an excessively large OCTET STRING value to a hexadecimal string leads to a heap buffer overflow on 32 bit platforms. Impact summary: A heap buffer overflow may lead to a crash or possibly an attacker controlled code execution or other undefined behavior. If an attacker can supply a crafted X.509 certificate with an excessively large OCTET STRING value in extensions such as the Subject Key Identifier (SKID) or Authority Key Identifier (AKID) which are being converted to hex, the size of the buffer needed for the result is calculated as multiplication of the input length by 3. On 32 bit platforms, this multiplication may overflow resulting in the allocation of a smaller buffer and a heap buffer overflow. Applications and services that print or log contents of untrusted X.509 certificates are vulnerable to this issue. As the certificates would have to have sizes…
Published Updated Sources: cvelistV5, openssl
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
5.8
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 5.8 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-787
References
7 on the record
- openssl-library.org/news/secadv/20260407.txt
vendor-advisory
- github.com/openssl/openssl/commit/a24216018e1ede8ff01a4ff5afff7dfbd443e2f9
patch
- github.com/openssl/openssl/commit/945b935ac66cc7f1a41f1b849c7c25adb5351f49
patch
- github.com/openssl/openssl/commit/364f095b80601db632b0def6a33316967f863bde
patch
- github.com/openssl/openssl/commit/7a9087efd769f362ad9c0e30c7baaa6bbfa65ecf
patch
- github.com/openssl/openssl/commit/a91e537d16d74050dbde50bb0dfb1fe9930f0521
patch
- cert-portal.siemens.com/productcert/html/ssa-032379.html
reference
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2014-0160 OpenSSL Information Disclosure VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2026-45447 Heap Use-After-Free in the PKCS7_verify() FunctionCVSS 8.8
- CVE-2025-43300 Apple iOS, iPadOS, and macOS Out-of-Bounds Write VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2025-24201 Apple Multiple Products WebKit Out-of-Bounds Write VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2021-35211 SolarWinds Serv-U Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2020-14871 Oracle Solaris and Zettabyte File System (ZFS) Unspecified VulnerabilityCVSS 10.0 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.