Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2026-31789

9.8 · CRITICAL
Published Apr 7, 2026 openssl CWE-787

Overview

CVE-2026-31789 is a critical-severity vulnerability affecting openssl openssl. It was published on April 7, 2026 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

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 3

Remediation

Check the references section for vendor advisories and patches from openssl. Update openssl to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
openssl openssl >= 3.0.0, < 3.0.20 Affected

Frequently Asked Questions

What is CVE-2026-31789?

CVE-2026-31789 is a critical-severity vulnerability affecting openssl openssl. It was published on April 7, 2026 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2026-31789?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2026-31789?

Check the references section for vendor advisories and patches from openssl. Update openssl to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-31789?

CyberStrike's AI-powered security agents can automatically detect CVE-2026-31789 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.

Browse by year 2026