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

CVE-2026-91767

Heap-buffer-overflow in php_openssl_matches_wildcard_name on crafted server cert wildcard CN

Publiée le 25 sept. 2026 · modifiée le 27 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 27/100

Résumé

php_openssl_matches_wildcard_name() in ext/openssl/xp_ssl.c underflows the length argument passed to memchr() when a TLS server certificate presents a wildcard name whose literal characters are together longer than the hostname being verified. A malicious server presenting such a certificate makes the PHP client read up to SIZE_MAX bytes past the end of a heap allocation. The path is reachable from any default client stream, because verify_peer_name is enabled by default.

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

Produits et versions affectés

PHP Group (4 ligne(s))
PHP Group
ProduitVersionsCorrigé dansSource
PHP avant 8.2.34 (exclu) — CNA (éditeur ou attributeur)
PHP avant 8.3.35 (exclu) — CNA (éditeur ou attributeur)
PHP avant 8.4.26 (exclu) — CNA (éditeur ou attributeur)
PHP avant 8.5.11 (exclu) — CNA (éditeur ou attributeur)
Php (4 ligne(s))
Php
ProduitVersionsCorrigé dansSource
Php de 8.2.0 (inclus) à 8.2.34 (exclu) — NVD
Php de 8.3.0 (inclus) à 8.3.35 (exclu) — NVD
Php de 8.4.0 (inclus) à 8.4.26 (exclu) — NVD
Php de 8.5.0 (inclus) à 8.5.11 (exclu) — 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)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-122 · Corruption mémoire

Comment sont obtenues et calculées ces données