CVE-2021-24025 - CVE House
Back to Database
Status published Critical CVE-2021-24025

Due to incorrect string size calculations inside the preg_quote function,...

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-24025

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

HHVM
Vulnerable Versions:
4.98.1, 4.98.0, 4.97.1, 4.97.0, 4.96.1, 4.96.0, 4.95.1, 4.95.0, 4.94.1, 4.94.0, 4.93.2, 4.81.0, 4.80.2, 4.57.0, 4.56.3, unspecified

Timeline

Official Publish: March 10th, 2021
Last Modified: August 3rd, 2024
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses (CWE)