CVE-2026-31789: Issue summary: Converting an excessively large OCTET STRING value to a hexadecimal string leads to a heap buff
CVE-2026-31789 is a critical-severity flaw (CVSS 9.8) affecting openssl. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 85%) |
| CISA exploited list | No |
| Weakness | CWE-787 |
| Published | 2026-04-07 |
| Last modified | 2026-07-24 |
Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-31789?
openssl: upgrade to 3.0.20, 3.3.7, 3.4.5, 3.5.6, 3.6.2. Exact commands for each OS are on this page.
Is CVE-2026-31789 being exploited?
CVE-2026-31789 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-31789 affect?
CVE-2026-31789 affects openssl. Severity is critical (CVSS 9.8). 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 co
How urgent is CVE-2026-31789?
Priority 48/100. Critical severity; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2026-84784 HIGH 7.5 UPGRADE Issue summary: A malicious remote peer may flood the local QUIC stack with NEW_CONNECTION_ID frames by avoidin
- CVE-2026-84783 HIGH 7.5 UPGRADE Issue summary: The first concurrent use of the same X.509 certificate by several threads may cause its cached
- CVE-2026-84782 HIGH 8.2 UPGRADE Issue summary: The DTLS retransmission logic does not correctly handle a handshake message write that is suspe
- CVE-2026-77696 LOW 3.7 UPGRADE Issue summary: SM2 signature generation uses non-constant-time arithmetic on secret values, forming a timing s
- CVE-2026-75806 MEDIUM 5.3 UPGRADE Issue summary: An established DTLS 1.2 association using an AEAD cipher suite can be terminated by a single un