Skip to main content
VulnerabilityPublished Updated

CVE-2026-31789: Issue summary · Converting an excessively large OCTET STRING value to a hexadecimal string leads to a

Affects opensslSource GCVE Database

0
Compare

Not known to be exploited · CVSS 9.8 Critical · fixed in 3.0.2-0ubuntu1.23 : patch openssl as a priority.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.

Contested

Critical score, yet low EPSS after six months
EPSS
0.2% chance of exploitation in 30 days – higher than 16% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.0.2-0ubuntu1.23, 3.0.13-0ubuntu3.9, 3.0.13-0ubuntu3.12+Fips1 +2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.10edk2pkg:deb/ubuntu/edk2?arch=source&distro=stonkingOther threatsAffected
  • 2025.11-3ubuntu7 – 2026.05-2ubuntu3
5 affected builds
Fixed in–
Ubuntu 26.10edk2-hwepkg:deb/ubuntu/edk2-hwe?arch=source&distro=stonkingOther threatsAffected
  • 2025.11-3ubuntu8 – 2026.05-2ubuntu3
5 affected builds
Fixed in–
Ubuntu 26.10opensslpkg:deb/ubuntu/openssl?arch=source&distro=stonkingOther threatsAffected
  • <3.5.5-1ubuntu3
Fixed in
  • 3.5.5-1ubuntu3
Ubuntu 26.04 LTSedk2pkg:deb/ubuntu/edk2?arch=source&distro=resoluteOther threatsAffected
  • 2025.02-8ubuntu3 – 2025.11-3ubuntu7.3
5 affected builds
Fixed in–
Ubuntu 26.04 LTSedk2-hwepkg:deb/ubuntu/edk2-hwe?arch=source&distro=resoluteOther threatsAffected
  • =2025.11-3ubuntu6
  • =2025.11-3ubuntu8
  • =2025.11-3ubuntu8.2
Fixed in–
Ubuntu 26.04 LTSopensslpkg:deb/ubuntu/openssl?arch=source&distro=resoluteOther threatsAffected
  • <3.5.5-1ubuntu3
Fixed in
  • 3.5.5-1ubuntu3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…