PHP: Heap-buffer-overflow in php_openssl_matches_wildcard_name on crafted server cert wildcard CN
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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| PHP (Interpreter) | PHP | >= 8.2.0, < 8.2.34, >= 8.3.0, < 8.3.35, >= 8.4.0, < 8.4.26, >= 8.5.0, < 8.5.11 ext-openssl: <8.2.34; <8.3.35; <8.4.26; <8.5.11 |
8.2.34, 8.3.35, 8.4.26, 8.5.11 |
Verweise
- CVSS-Vektor
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Schwäche (CWE)
CWE-122- Plattform
- PHP
- Paket
PHP- Veröffentlicht
- 24.09.2026
- Aktualisiert
- 03.11.2026 19:17
Quellen und Lizenzen
PHP Security Advisories - GHSA-xr7j-rvgx-xq5p - CVE Terms of Use
Copyright 1999-2026 The MITRE Corporation
Copyright 1999-2026 The MITRE Corporation
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.
https://www.cve.org/Legal/TermsOfUseSchwachstellenhistorie: PHP
Alle veröffentlichten Schwachstellen dieses Pakets (PHP (Interpreter)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 78
- Erste → letzte
- 02.2023 11.2026
- Ohne Fix
- 1
- In Angriffen ausgenutzt
- 3
Verteilung nach Schweregrad
- Kritisch 11
- Hoch 16
- Mittel 42
- Niedrig 9
Veröffentlichungen pro Jahr
- 2023: 5
- 2024: 17
- 2025: 12
- 2026: 44
-
PHP: Heap-buffer-overflow in php_openssl_matches_wildcard_name on crafted server cert wildcard CN dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.