Skip to content
COOEY

EXPOSURES › CVE-2026-31789

CVE-2026-31789

CRITICAL
DETAIL
SourceNVD · cve Published2026-04-07 CVSS9.8 Referencehttps://nvd.nist.gov/vuln/detail/CVE-2026-31789 ↗
⚡ RCE SHAME 65/100 rceunpatchedexploited-in-wild

A heap buffer overflow in OpenSSL on 32-bit platforms allows code execution if an attacker supplies a crafted X.509 certificate with an excessively large OCTET STRING value.

This vulnerability affects OpenSSL on 32-bit systems when processing untrusted X.509 certificates, potentially leading to remote code execution. DIB organizations must ensure their 32-bit systems are patched and avoid logging or printing untrusted certificates to prevent exploitation. The issue was assigned low severity due to the rarity of handling such large certificates, but the potential for code execution makes it critical for compliance.

Shame score — A critical buffer overflow in a foundational cryptographic library like OpenSSL, even with a low practical exploit likelihood, represents a significant avoidable risk that could have been mitigated through timely patching and careful handling of untrusted data.

▸ RECOMMENDED ACTION  Remote code execution — patch the affected products on priority.

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 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.

AFFECTED FEDRAMP PRODUCTS · 0
No correlated FedRAMP products.