Live threats

All CVEs / Facebook

CVE-2021-24036Facebook Folly

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
3.3%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Jul 23, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-122, CWE-190
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Passing an attacker controlled size when creating an IOBuf could cause integer overflow, leading to an out of bounds write on the heap with the possibility of remote code execution. This issue affects versions of folly prior to v2021.07.22.00. This issue affects HHVM versions prior to 4.80.5, all versions between 4.81.0 and 4.102.1, all versions between 4.103.0 and 4.113.0, and versions 4.114.0, 4.115.0, 4.116.0, 4.117.0, 4.118.0 and 4.118.1.

Original NVD text.

What to do

  1. Apply the vendor's security update for Folly.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
facebookfolly< 2021.07.22.00
facebookhhvm< 4.80.5
facebookhhvm≥ 4.81.0 ≤ 4.102.1
facebookhhvm≥ 4.103.0 ≤ 4.113.0
facebookhhvm4.114.0
facebookhhvm4.115.0
facebookhhvm4.116.0
facebookhhvm4.117.0
facebookhhvm4.118.0
facebookhhvm4.118.1

Official sources

References

Links published by the sources. Open them with care.