CVE-2021-24025

published 10 Mar 2021 · updated 3 Aug 2024

Due to incorrect string size calculations inside the preg_quote function, a large input string passed to the function can trigger an…

5.0MediumEPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 4.56.3 and unspecified.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Facebook<4.56.3, =4.94.0, =4.95.0, =4.96.0, =4.97.0, =4.98.0, >=4.57.0 <unspecified, >=4.81.0 <unspecified4.56.3, unspecified

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-24025 severity on Zeptric[![CVE-2021-24025](https://zeptric.io/badge/cve/CVE-2021-24025.svg)](https://zeptric.io/cve/CVE-2021-24025)