CVE-2021-24025

State
Published
Severity
Not scored
Published
Mar 10, 2021
Updated
Aug 3, 2024
Reserved
Jan 13, 2021

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

  • CWE-122 Heap-based Buffer Overflow (CWE-122)

Affected Products

ProductVersions
HHVMFacebook
  • 4.98.1 to before unspecifiedNot affected
  • 4.98.0Affected
  • 4.97.1 to before unspecifiedNot affected
  • 4.97.0Affected
  • 4.96.1 to before unspecifiedNot affected
  • 4.96.0Affected
  • 4.95.1 to before unspecifiedNot affected
  • 4.95.0Affected
  • 4.94.1 to before unspecifiedNot affected
  • 4.94.0Affected
  • 4.93.2 to before unspecifiedNot affected
  • 4.81.0 to before unspecifiedAffected
  • 4.80.2 to before unspecifiedNot affected
  • 4.57.0 to before unspecifiedAffected
  • 4.56.3 to before unspecifiedNot affected
  • before 4.56.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.