1. Accueil
  2. Vulnérabilités
  3. CVE-2026-7383

CVE-2026-7383

Issue summary: A signed integer overflow when sizing the destination buffer for Unicode output in…

Publiée le 9 juin 2026 · modifiée le 23 juil. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 49/100

Résumé

Issue summary: A signed integer overflow when sizing the destination buffer for Unicode output in ASN1_mbstring_ncopy() can lead to a heap buffer overflow. Impact summary: A heap buffer overflow may lead to a crash or possibly attacker controlled code execution or other undefined behaviour. In ASN1_mbstring_copy() and ASN1_mbstring_ncopy() the destination size for Unicode output is computed in a signed int: by left shift of the input character count for BMPSTRING (UTF-16) and UNIVERSALSTRING (UTF-32), and by summing per-character byte counts for UTF8STRING. The calculation overflows when the input reaches around 2^30 characters. In the worst case (UNIVERSALSTRING at 2^30 characters) the size wraps to zero, OPENSSL_malloc(1) is called, and the subsequent character copy writes several gigabytes past the one-byte allocation. X.509 certificate processing routes through ASN1_STRING_set_by_NID(), whose DIRSTRING_TYPE mask excludes UNIVERSALSTRING and whose per-NID size limits cap the input length; no network protocol or certificate-handling path in OpenSSL exercises the overflow. Triggering the bug requires an application that calls ASN1_mbstring_copy() or ASN1_mbstring_ncopy() directly, or registers a custom string type via ASN1_STRING_TABLE_add(), with attacker-controlled input on the order of half a gigabyte or more. For these reasons this issue was assigned Low severity. The FIPS modules in 4.0, 3.6, 3.5, 3.4 and 3.0 are not affected by this issue, as the affected code is outside the OpenSSL FIPS module boundary.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Openssl (7 ligne(s))
Openssl
ProduitVersionsCorrigé dansSource
Openssl de 1.0.2 (inclus) à 1.0.2zq (exclu) — NVD
Openssl de 1.1.1 (inclus) à 1.1.1zh (exclu) — NVD
Openssl de 3.0.0 (inclus) à 3.0.21 (exclu) — NVD
Openssl de 3.4.0 (inclus) à 3.4.6 (exclu) — NVD
Openssl de 3.5.0 (inclus) à 3.5.7 (exclu) — NVD
Openssl de 3.6.0 (inclus) à 3.6.3 (exclu) — NVD
Openssl 4.0.0 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1351)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1352)
  4. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
  5. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1486)
  6. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1583)
  7. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1615)
  8. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1625)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:134c704f-9b21-4f2e-91b3-4a467353bcc0)
Faiblesse
CWE-787 · Corruption mémoire

Comment sont obtenues et calculées ces données