CVE-2026-31789: Vulnerability in OpenSSL
Critical. Issue summary: Converting an excessively large OCTET STRING value to a hexadecimal string leads to a heap buffer overflow on 32 bit platforms.
CWE-787
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-787
- Published
- 7 Apr 2026
- Last change
- 24 Jul 2026
Affected products
Affected versions and the first fixed release
- OpenSSL From 3.0.0 before 3.0.20; From 3.3.0 before 3.3.7; From 3.4.0 before 3.4.5; From 3.5.0 before 3.5.6; From 3.6.0 before 3.6.2. Fixed in 3.0.20, 3.3.7, 3.4.5, 3.5.6, 3.6.2
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
- github.com/openssl/openssl/commit/364f095b80601db632b0def6a33316967f863bde
- github.com/openssl/openssl/commit/7a9087efd769f362ad9c0e30c7baaa6bbfa65ecf
- github.com/openssl/openssl/commit/945b935ac66cc7f1a41f1b849c7c25adb5351f49
- github.com/openssl/openssl/commit/a24216018e1ede8ff01a4ff5afff7dfbd443e2f9
- github.com/openssl/openssl/commit/a91e537d16d74050dbde50bb0dfb1fe9930f0521
Related
- OpenSSL vulnerabilities Recent advisories, watch this product