Home / OpenSSL / OpenSSL / CVE-2026-31789
CVE-2026-31789: is it exploited, and which versions of OpenSSL are affected and fixed?
CVE-2026-31789 is an out-of-bounds write (memory corruption) vulnerability in OpenSSL. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: OpenSSL from 3.6.0 before 3.6.2, OpenSSL from 3.5.0 before 3.5.6, OpenSSL from 3.4.0 before 3.4.5 and 2 more (CVE record by openssl). Fixed in 3.6.2, 3.5.6, 3.4.5, 3.3.7 and 1 more (CVE record by openssl). Severity: Medium (5.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is 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 of over 1 Gigabyte, printing or logging such certificates is a fairly unlikely operation and only 32 bit platforms are affected, this issue was assigned Low severity. The FIPS modules in 3.6, 3.5, 3.4, 3.3 and 3.0 are not affected by this issue, as the affected code is outside the OpenSSL FIPS module boundary.
From the CVE record by openssl, last updated May 12, 2026, 12:09 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| OpenSSL | OpenSSL | from 3.6.0 before 3.6.2 from 3.5.0 before 3.5.6 from 3.4.0 before 3.4.5 from 3.3.0 before 3.3.7 from 3.0.0 before 3.0.20 | 3.6.2, 3.5.6, 3.4.5, 3.3.7, 3.0.20 |
As the CVE record by openssl states it, last updated May 12, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openssl | openssl | from 3.0.0 before 3.0.20 | application |
| openssl | openssl | from 3.3.0 before 3.3.7 | application |
| openssl | openssl | from 3.4.0 before 3.4.5 | application |
| openssl | openssl | from 3.5.0 before 3.5.6 | application |
| openssl | openssl | from 3.6.0 before 3.6.2 | application |
NVD analysis (status Modified), last modified July 24, 2026, 23:10 UTC.
How severe is CVE-2026-31789?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H | CISA-ADP |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-31789 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, April 9, 2026)
- EPSS
- 0.25% probability of exploitation activity in the next 30 days, percentile 17.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-787 Out-of-bounds Write
Where are the vendor advisories and references?
- OpenSSL Advisory vendor-advisory
- 3.6.2 git commit patch
- 3.5.6 git commit patch
- 3.4.5 git commit patch
- 3.3.7 git commit patch
- 3.0.20 git commit patch
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html
Who found and reported it?
- Quoc Tran (Xint.io - US Team) (reporter)
- Igor Ustinov (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 9, 2026
- Published
- April 7, 2026, 22:00 UTC
- CVE record updated
- May 12, 2026, 12:09 UTC by openssl
- NVD
- Modified, last modified July 24, 2026, 23:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect OpenSSL?
- Apr 7, 2014CVE-2014-0160 Openssl: out-of-bounds read exploited
- Dec 1, 2026CVE-2026-123780 OpenSSL: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-120667 OpenSSL: out-of-bounds write (memory corruption)
- Dec 1, 2026CVE-2026-120666 OpenSSL: data authenticity not verified
- Dec 1, 2026CVE-2026-120665 OpenSSL: improper certificate validation
- Nov 24, 2026CVE-2026-84785 OpenSSL: denial of service (resources allocated without limits)
- Nov 18, 2026CVE-2026-95690 OpenSSL: denial of service (resources allocated without limits)
- Nov 18, 2026CVE-2026-84786 OpenSSL: NULL pointer dereference (crash)
Questions about CVE-2026-31789
Is CVE-2026-31789 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.25% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of OpenSSL are affected by CVE-2026-31789?
OpenSSL from 3.6.0 before 3.6.2, OpenSSL from 3.5.0 before 3.5.6, OpenSSL from 3.4.0 before 3.4.5, OpenSSL from 3.3.0 before 3.3.7 and OpenSSL from 3.0.0 before 3.0.20, per the CVE record by openssl. The tables above give every range the sources list.
Which version fixes CVE-2026-31789?
3.6.2, 3.5.6, 3.4.5, 3.3.7 and 3.0.20, per the CVE record by openssl. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-31789?
Medium (5.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-31789?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.