Menu

Star on GitHub · 3.2k

CVE-2026-31789

9.8 · CRITICAL

Issue summary: Converting an excessively large OCTET STRING value to a hexadecimal string leads to a heap buffer overflow on 32 bit platforms.

Published Apr 7, 2026CWE-787EPSS 0.24%

Overview

CVE-2026-31789 is a critical-severity vulnerability. 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, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2026-31789?

CVE-2026-31789 is a critical-severity vulnerability. 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, patches, and mitigation guidance. 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 is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-31789 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related CRITICAL CVEs from 2026

View all