PHP: Signed integer overflow in metaphone()
In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, the metaphone() function in ext/standard/metaphone.c uses a signed int variable to track the current position within the input string. If a string longer than 2,147,483,647 bytes is passed, a signed integer overflow occurs, resulting in undefined behavior. This can lead to an out-of-bounds read, causing a segmentation fault or access to unrelated memory, and may affect the availability of the PHP process.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| PHP (intérprete) | PHP | >= 8.2.0, < 8.2.31, >= 8.3.0, < 8.3.31, >= 8.4.0, < 8.4.21, >= 8.5.0, < 8.5.6 ext-standard: < 8.2.31; < 8.3.31; < 8.4.21; < 8.5.6 |
8.2.31, 8.3.31, 8.4.21, 8.5.6 |
Referencias
- Debilidad (CWE)
CWE-125, CWE-190- Plataforma
- PHP
- Paquete
PHP- Publicada
- 07.05.2026
- Actualizado
- 03.11.2026 19:17
Fuentes y licencias
PHP Security Advisories - GHSA-96wq-48vp-hh57 - 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/TermsOfUseHistorial de vulnerabilidades: PHP
Todas las vulnerabilidades publicadas de este paquete (PHP (intérprete)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 78
- Primera → última
- 02.2023 11.2026
- Sin corrección
- 1
- Explotada en ataques
- 3
Distribución por gravedad
- Crítica 11
- Alta 16
- Media 42
- Baja 9
Divulgaciones por año
- 2023: 5
- 2024: 17
- 2025: 12
- 2026: 44
-
PHP: Signed integer overflow in metaphone() esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.