Vulnerability in openssl
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as UBUNTU-CVE-2026-31789 has been found in openssl.
Successful exploitation can lead to full system takeover.
What to do: upgrade openssl to 3.0.2-0ubuntu1.23 or later.
If unsure, ask your IT team or search "openssl UBUNTU-CVE-2026-31789" on the vendor's site.
UBUNTU-CVE-2026-31789 (openssl)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 3.0.2-0ubuntu1.23 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in openssl.
Check the vendor advisory for the affected versions of openssl.
Severity: ?. Successful exploitation can lead to full system takeover.
Update to 3.0.2-0ubuntu1.23.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'openssl' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'openssl' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
opensslを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade openssl to 3.0.2-0ubuntu1.23ステージング環境で 3.0.2-0ubuntu1.23 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:22.04:LTSopenssl |
< 3.0.2-0ubuntu1.23→ 3.0.2-0ubuntu1.23 |
3.0.2-0ubuntu1.23 |
| Ubuntu:Pro:FIPS-preview:22.04:LTSopenssl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS-preview:22.04:LTSopenssl-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS-updates:22.04:LTSopenssl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:FIPS-updates:22.04:LTSopenssl-fips |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSedk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSopenssl |
< 3.0.13-0ubuntu3.9→ 3.0.13-0ubuntu3.9 |
3.0.13-0ubuntu3.9 |
| Ubuntu:Pro:FIPS-updates:24.04:LTSopenssl-fips |
< 3.0.13-0ubuntu3.12+Fips1→ 3.0.13-0ubuntu3.12+Fips1 |
3.0.13-0ubuntu3.12+Fips1 |
| Ubuntu:25.10edk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10openssl |
< 3.5.3-1ubuntu3.3→ 3.5.3-1ubuntu3.3 |
3.5.3-1ubuntu3.3 |
| Ubuntu:26.04edk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04openssl |
< 3.5.5-1ubuntu3→ 3.5.5-1ubuntu3 |
3.5.5-1ubuntu3 |
| Ubuntu:26.04:LTSedk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSopenssl |
< 3.5.5-1ubuntu3→ 3.5.5-1ubuntu3 |
3.5.5-1ubuntu3 |
| Ubuntu:26.10edk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10edk2-hwe |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10openssl |
< 3.5.5-1ubuntu3→ 3.5.5-1ubuntu3 |
3.5.5-1ubuntu3 |
| Ubuntu:26.04:LTSedk2-hwe |
All versions→ Not listed |
Not listed |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report openwall.com