9.8critical
Due to incorrect string size calculations inside the pregquote function, a large input string passed to the function can trigger an integer…
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 1.61% (higher than 76% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
Description
Due to incorrect string size calculations inside the preg_quote function, a large input string passed to the function can trigger an integer overflow leading to a heap overflow. This issue affects HHVM versions prior to 4.56.3, all versions between 4.57.0 and 4.80.1, all versions between 4.81.0 and 4.93.1, and versions 4.94.0, 4.95.0, 4.96.0, 4.97.0, 4.98.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Facebook HHVM | 4.98.0, 4.97.0, 4.96.0, 4.95.0, 4.94.0, from 4.81.0 before unspecified, from 4.57.0 before unspecified, from unspecified before 4.56.3 and 3 more Not affected: from 4.98.1 before unspecified, from 4.97.1 before unspecified, from 4.96.1 before unspecified, from 4.95.1 before unspecified, from 4.94.1 before unspecified, from 4.93.2 before unspecified | CVE List, NVD |
All scores
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
Due to incorrect string size calculations inside the preg_quote function, a large input string passed to the function can trigger an integer overflow leading to a heap overflow. This issue affects HHVM versions prior to 4.56.3, all versions between 4.57.0 and 4.80.1, all versions between 4.81.0 and 4.93.1, and versions 4.94.0, 4.95.0, 4.96.0, 4.97.0, 4.98.0.
NVD (es)
Debido a cálculos de tamaño de cadena incorrectos dentro de la función preg_quote, una cadena de entrada grande pasada a la función puede desencadenar un desbordamiento de enteros que conlleva a un desbordamiento de la pila. Este problema afecta a versiones de HHVM anteriores a 4.56.3, todas las versiones entre 4.57.0 y 4.80.1, todas las versiones entre 4.81.0 y 4.93.1 y versiones 4.94.0, 4.95.0, 4.96.0, 4.97.0 , 4.98.0
References
| https://hhvm.com/blog/2021/02/25/security-update.html | release-notes, third-party-advisory | |
| https://github.com/facebook/hhvm/commit/08193b7f0cd3910256e00d599f0f3eb2519c44ca | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24025 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24025 changed 2026-06-17 | Public domain |