CVE-2021-24036Facebook Folly
Critical 9.8 No auth needed
Follow: this CVE · Facebook · Facebook Folly We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Folly.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| folly | < 2021.07.22.00 | |
| hhvm | < 4.80.5 | |
| hhvm | ≥ 4.81.0 ≤ 4.102.1 | |
| hhvm | ≥ 4.103.0 ≤ 4.113.0 | |
| hhvm | 4.114.0 | |
| hhvm | 4.115.0 | |
| hhvm | 4.116.0 | |
| hhvm | 4.117.0 | |
| hhvm | 4.118.0 | |
| hhvm | 4.118.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- hhvm.com Product Vendor Advisory
- www.facebook.com Vendor Advisory