HOMEVULNERABILITIESCVE-2026-31789
NONE

CVE-2026-31789

CWE-787Published: April 7, 2026· Updated: Apr 8, 2026

EPSS:0.01%probability of exploitation in 30 daysPercentile:1.2th

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

NVD Source

Technical Analysis

CVE-2026-31789 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

From a weakness classification perspective (CWE-787): Out-of-bounds write vulnerabilities can lead to data corruption, crashes, or arbitrary code execution.

Affected Vendors & Products

Mentioned vendors (from description):
OpenSSL
CPE data not yet available in NVD for this CVE.

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

News & Research Mentioning CVE-2026-31789

Siemens SIMATIC
CISA Alerts· May 14, 2026

View CSAF Summary SIMATIC CN 4100 contains multiple vulnerabilities which could potentially lead to a compromise in availability, integrity and confidentiality. Siemens has released a new version for SIMATIC CN 4100 and recommends to update to the latest version. The following versions of Siemens SIMATIC are affected: SIMATIC CN 4100 vers:intdot/ hpo_dp_link_enc before using it [WHAT & HOW] Functions dp_enable_link_phy and dp_disable_link_phy can pass link_res without initializing hpo_dp_link_enc and it is necessary to check for null before dereferencing. This fixes 2 FORWARD_NULL issues reported by Coverity. View CVE Details Affected Products Siemens SIMATIC Vendor: Siemens Product Version: SIMATIC CN 4100 Product Status: known_affected Remediations [xlite_meta score:79 src:CISA Alerts xlite_fp:24398be83460e8bd8b0800e5360a3f73a2eb239b4cfc4a9afb9694e799548978]

All References (6)

Quick Facts

CVE IDCVE-2026-31789
SeverityNONE
WeaknessCWE-787
CISA KEVNo
EPSS (30d)0.01%
PublishedApr 7, 2026

Known Threat Actors

wa
financial
B0
financial
core
financial

Related CVEs (CWE-787)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2026-31789 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.