CVE-2026-31789: Heap Buffer Overflow in Hexadecimal Conversion
CVE-2026-31789 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- Medium
- CVSS base score
- 5.8 (NetApp), 5.8 (Red Hat)
- CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H· base score 5.8, scored by CISA-ADPAttack vector: local. Attack complexity: high. Privileges required: none. User interaction: required. Scope: unchanged. Confidentiality impact: low. Integrity impact: low. Availability impact: high.- Weakness
- CWE-787 Out-of-bounds Write
- EPSS
- 0.25% chance of exploitation in the next 30 days (16th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- Fixed releases
- Red Hat: RHSA-2026:7261
- Assigned by
- openssl (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-31789; each belongs to its advisory, not to every product listed. How records are collected and checked.
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.
Text from the CVE.org record (openssl).
How do I fix CVE-2026-31789?
Upgrade to a fixed release named by the vendor:
- Red Hat: RHSA-2026:7261
- NetApp HCI Baseboard Management Controller (BMC) - H610S has no planned fix; migrate to a supported release or product and consult NetApp's end-of-support notice. (NetApp)
- Update the affected package(s) to the fixed version shipped in RHSA-2026:7261 (`sudo dnf update` / `yum update`). (Red Hat)
Vendor advisories for CVE-2026-31789
NetApp
1 advisory- Advisory severityMedium5.8
Medium [CVE-2026-31789] OpenSSL Vulnerability in NetApp Products
NTAP-20260417-0011Source published Source updated
Multiple NetApp products incorporate OpenSSL. Certain versions of OpenSSL are susceptible to a vulnerability which when successfully exploited could lead to Denial of Service (DoS). Successful exploitation of this vulnerability could lead to Denial of Service (DoS). Affected products: NetApp HCI Baseboard Management Controller (BMC) - H610S. NetApp reports that one or more additional products remain under investigation; review the canonical advisory for current status. NetApp states there is no workaround available at this time.
- Affected products in this advisory
- NetApp HCI Baseboard Management Controller (BMC) - H610S
- Source-reported affected versions
- Affected-version details not available in this record.
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- NetApp HCI Baseboard Management Controller (BMC) - H610S has no planned fix; migrate to a supported release or product and consult NetApp's end-of-support notice.
Red Hat
1 advisory- Advisory severityMedium5.8
Medium [CVE-2026-31789] Heap buffer overflow on 32-bit systems from large X.509 certificate processing
CVE-2026-31789Source published
Heap buffer overflow on 32-bit systems from large X.509 certificate processing. Red Hat rates this low (CVSS 5.8). Weakness: CWE-190. Affected package(s): openssl-main. Resolved in Red Hat advisory RHSA-2026:7261 — update the affected packages (`sudo dnf update`).
- Related products — impact not confirmed
- openssl-main
- Red Hat Enterprise Linux
- Source-reported affected versions
- openssl-main-3.5.6-0.1.hum1
- Source-reported fixed versions
- RHSA-2026:7261
- Mitigation guidance
- Update the affected package(s) to the fixed version shipped in RHSA-2026:7261 (`sudo dnf update` / `yum update`).
References
- CVE-2026-31789 recordCVE.org
- CVE-2026-31789 detailNVD
- OpenSSL Advisoryvendor-advisory
- 3.6.2 git commitpatch
- 3.5.6 git commitpatch
- 3.4.5 git commitpatch
- 3.3.7 git commitpatch
- 3.0.20 git commitpatch
Timeline
- First vendor advisory listed by VulniPulse
- CVE record published
- CVE record last updated
More NetApp advisories
CVE-2026-53176Oct 30, 2026Linux Kernel Vulnerability in NetApp ProductsCVE-2026-64106Oct 30, 2026Linux Kernel Vulnerability in NetApp ProductsCVE-2026-53088Oct 30, 2026Linux Kernel Vulnerability in NetApp ProductsCVE-2026-46137Oct 30, 2026Linux Kernel Vulnerability in NetApp ProductsCVE-2026-52999Oct 30, 2026Linux Kernel Vulnerability in NetApp ProductsCVE-2025-21796Oct 30, 2026Linux Kernel Vulnerability in NetApp Products
Get an email when NetApp publishes the next one.
See NetApp's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).
iPhone and Android apps · New on the App Store
Get alerts for new CVEs on your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.