CVE-2026-31789
CVE-2026-31789 · Heap Buffer Overflow in Hexadecimal Conversion
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 5.8 · Moyenne · EPSS 0,2% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: system · network
Produits et versions concernés
openssl
- Versions du logiciel
- ≥ 3.6.0, < 3.6.2: Concernée (semver)
- ≥ 3.5.0, < 3.5.6: Concernée (semver)
- ≥ 3.4.0, < 3.4.5: Concernée (semver)
- ≥ 3.3.0, < 3.3.7: Concernée (semver)
- ≥ 3.0.0, < 3.0.20: Concernée (semver)
Mettez à jour vers 3.0.20; Mettez à jour vers 3.3.7; Mettez à jour vers 3.4.5; Mettez à jour vers 3.5.6; Mettez à jour vers 3.6.2
openssl Debian:12
- Versions du logiciel
- 3.0.10-1
- 3.0.10-1~deb12u1
- 3.0.11-1
- 3.0.11-1~deb12u1
- 3.0.11-1~deb12u2
- 3.0.12-1
- 3.0.12-2
- 3.0.13-1~deb12u1
- 3.0.13-1~deb12u2
- 3.0.14-1~deb12u1
- 3.0.14-1~deb12u2
- 3.0.15-1~deb12u1
- 3.0.16-1~deb12u1
- 3.0.17-1~deb12u1
- 3.0.17-1~deb12u2
- 3.0.17-1~deb12u3
- 3.0.18-1~deb12u1
- 3.0.18-1~deb12u2
- 3.0.19-1~deb12u1
- 3.0.9-1
- Plages de versions concernées
- ECOSYSTEM: < 3.0.19-1~deb12u2
Mettez à jour vers 3.0.19-1~deb12u2
openssl Debian:13
- Versions du logiciel
- 3.5.1-1
- 3.5.1-1+deb13u1
- 3.5.2-1
- 3.5.3-1
- 3.5.4-1
- 3.5.4-1~deb13u1
- 3.5.4-1~deb13u2
- 3.5.5-1~deb13u1
- Plages de versions concernées
- ECOSYSTEM: < 3.5.5-1~deb13u2
Mettez à jour vers 3.5.5-1~deb13u2
openssl Debian:14
- Versions du logiciel
- 3.5.1-1
- 3.5.2-1
- 3.5.3-1
- 3.5.4-1
- 3.5.4-1~deb13u1
- 3.5.4-1~deb13u2
- 3.5.5-1
- 3.5.5-1~deb13u1
- 3.5.5-1~deb13u2
- 3.5.6-1~deb13u1
- 3.5.6-1~deb13u2
- 3.5.7-1~deb13u1
- 3.5.7-1~deb13u2
- 3.5.7-1~deb13u3
- 3.6.0-1
- 3.6.0-2
- 3.6.0~~alpha1-1
- 3.6.0~~beta1-1
- 3.6.1-1
- 3.6.1-2
- 3.6.1-3
- Plages de versions concernées
- ECOSYSTEM: < 3.6.2-1
Mettez à jour vers 3.6.2-1
openssl Ubuntu:22.04:LTS
- Versions du logiciel
- 1.1.1l-1ubuntu1
- 3.0.0-1ubuntu1
- 3.0.1-0ubuntu1
- 3.0.2-0ubuntu1
- 3.0.2-0ubuntu1.1
- 3.0.2-0ubuntu1.2
- 3.0.2-0ubuntu1.4
- 3.0.2-0ubuntu1.5
- 3.0.2-0ubuntu1.6
- 3.0.2-0ubuntu1.7
- 3.0.2-0ubuntu1.8
- 3.0.2-0ubuntu1.9
- 3.0.2-0ubuntu1.10
- 3.0.2-0ubuntu1.12
- 3.0.2-0ubuntu1.13
- 3.0.2-0ubuntu1.14
- 3.0.2-0ubuntu1.15
- 3.0.2-0ubuntu1.16
- 3.0.2-0ubuntu1.17
- 3.0.2-0ubuntu1.18
- 3.0.2-0ubuntu1.19
- 3.0.2-0ubuntu1.20
- 3.0.2-0ubuntu1.21
- Plages de versions concernées
- ECOSYSTEM: < 3.0.2-0ubuntu1.23
Mettez à jour vers 3.0.2-0ubuntu1.23
openssl Ubuntu:Pro:FIPS-preview:22.04:LTS
- Versions du logiciel
- 3.0.2-0ubuntu1.10+Fips1
- 3.0.2-0ubuntu1.12+Fips1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
openssl-fips Ubuntu:Pro:FIPS-preview:22.04:LTS
- Versions du logiciel
- 3.0.5-0ubuntu0.1+Fips2.1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
openssl Ubuntu:Pro:FIPS-updates:22.04:LTS
- Versions du logiciel
- 3.0.2-0ubuntu1.10+Fips1
- 3.0.2-0ubuntu1.12+Fips1
- 3.0.2-0ubuntu1.14+Fips1
- 3.0.2-0ubuntu1.15+Fips1
- 3.0.2-0ubuntu1.16+Fips1
- 3.0.2-0ubuntu1.17+Fips1
- 3.0.2-0ubuntu1.18+Fips1
- 3.0.2-0ubuntu1.19+Fips1
- 3.0.2-0ubuntu1.20+Fips1
- 3.0.2-0ubuntu1.21+Fips1
- 3.0.2-0ubuntu1.23+Fips1
- 3.0.2-0ubuntu1.25+Fips1
- 3.0.2-0ubuntu1.26+Fips1
- 3.0.2-0ubuntu1.29+Fips1
- 3.0.2-0ubuntu1.30+Fips1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
openssl-fips Ubuntu:Pro:FIPS-updates:22.04:LTS
- Versions du logiciel
- 3.0.5-0ubuntu0.1+Fips2.1
- 3.0.5-0ubuntu0.2+Fips1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
edk2 Ubuntu:24.04:LTS
- Versions du logiciel
- 2023.05-2
- 2023.11-2
- 2023.11-3
- 2023.11-4
- 2023.11-5
- 2023.11-6
- 2023.11-8
- 2024.02-1
- 2024.02-2
- 2024.02-2ubuntu0.1
- 2024.02-2ubuntu0.3
- 2024.02-2ubuntu0.4
- 2024.02-2ubuntu0.5
- 2024.02-2ubuntu0.6
- 2024.02-2ubuntu0.7
- 2024.02-2ubuntu0.8
- 2024.02-2ubuntu0.9
- 2024.02-2ubuntu0.10
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
openssl Ubuntu:24.04:LTS
- Versions du logiciel
- 3.0.10-1ubuntu2
- 3.0.10-1ubuntu2.1
- 3.0.10-1ubuntu3
- 3.0.10-1ubuntu4
- 3.0.13-0ubuntu2
- 3.0.13-0ubuntu3
- 3.0.13-0ubuntu3.1
- 3.0.13-0ubuntu3.2
- 3.0.13-0ubuntu3.3
- 3.0.13-0ubuntu3.4
- 3.0.13-0ubuntu3.5
- 3.0.13-0ubuntu3.6
- 3.0.13-0ubuntu3.7
- Plages de versions concernées
- ECOSYSTEM: < 3.0.13-0ubuntu3.9
Mettez à jour vers 3.0.13-0ubuntu3.9
openssl-fips Ubuntu:Pro:FIPS-updates:24.04:LTS
- Versions du logiciel
- 3.0.13-0ubuntu3+Fips1
- 3.0.13-0ubuntu3.6+Fips1
- Plages de versions concernées
- ECOSYSTEM: < 3.0.13-0ubuntu3.12+Fips1
Mettez à jour vers 3.0.13-0ubuntu3.12+Fips1
edk2 Ubuntu:25.10
- Versions du logiciel
- 2025.02-3ubuntu2
- 2025.02-8
- 2025.02-8ubuntu1
- 2025.02-8ubuntu2
- 2025.02-8ubuntu3
- 2025.02-8ubuntu3.1
- 2025.02-8ubuntu3.2
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
openssl Ubuntu:25.10
- Versions du logiciel
- 3.4.1-1ubuntu3
- 3.5.0-2ubuntu1
- 3.5.2-1ubuntu1
- 3.5.3-1ubuntu2
- 3.5.3-1ubuntu3
- Plages de versions concernées
- ECOSYSTEM: < 3.5.3-1ubuntu3.3
Mettez à jour vers 3.5.3-1ubuntu3.3
edk2 Ubuntu:26.10
- Versions du logiciel
- 2025.11-3ubuntu7
- 2025.11-3ubuntu8
- 2026.05-2ubuntu1
- 2026.05-2ubuntu2
- 2026.05-2ubuntu3
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
edk2-hwe Ubuntu:26.10
- Versions du logiciel
- 2025.11-3ubuntu8
- 2025.11-3ubuntu9
- 2026.05-2ubuntu1
- 2026.05-2ubuntu2
- 2026.05-2ubuntu3
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
openssl Ubuntu:26.10
- Plages de versions concernées
- ECOSYSTEM: < 3.5.5-1ubuntu3
Mettez à jour vers 3.5.5-1ubuntu3
edk2 Ubuntu:26.04:LTS
- Versions du logiciel
- 2025.02-8ubuntu3
- 2025.11-3ubuntu6
- 2025.11-3ubuntu7
- 2025.11-3ubuntu7.2
- 2025.11-3ubuntu7.3
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
edk2-hwe Ubuntu:26.04:LTS
- Versions du logiciel
- 2025.11-3ubuntu6
- 2025.11-3ubuntu8
- 2025.11-3ubuntu8.2
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
openssl Ubuntu:26.04:LTS
- Versions du logiciel
- 3.5.3-1ubuntu2
- 3.5.5-1ubuntu1
- Plages de versions concernées
- ECOSYSTEM: < 3.5.5-1ubuntu3
Mettez à jour vers 3.5.5-1ubuntu3
Sources originales
- https://openssl-library.org/news/secadv/20260407.txt
- https://github.com/openssl/openssl/commit/a24216018e1ede8ff01a4ff5afff7dfbd443e2f9
- https://github.com/openssl/openssl/commit/945b935ac66cc7f1a41f1b849c7c25adb5351f49
- https://github.com/openssl/openssl/commit/364f095b80601db632b0def6a33316967f863bde
- https://github.com/openssl/openssl/commit/7a9087efd769f362ad9c0e30c7baaa6bbfa65ecf
- https://github.com/openssl/openssl/commit/a91e537d16d74050dbde50bb0dfb1fe9930f0521
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html
- https://nvd.nist.gov/vuln/detail/CVE-2026-31789