# CVE-2021-24036

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-07-23 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2021-24036
- Record: https://cvemate.com/vulnerability/CVE-2021-24036 · JSON: https://cvemate.com/vulnerability/CVE-2021-24036/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.284%, percentile 88.848%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu hhvm (Ubuntu): All versions (No fix recorded)
- facebook folly: ≥ unspecified, \< v2021.07.22.00 \| \< 2021.07.22.00
- facebook hhvm: ≥ 4.118.0, \< unspecified \| 4.113.0 \| ≥ 4.102.0, \< unspecified \| ≥ 4.81.0, \< unspecified \| ≥ unspecified, \< 4.80.5 \| \< 4.80.5 \| ≥ 4.81.0, ≤ 4.102.1 \| ≥ 4.103.0, ≤ 4.113.0 \| 4.114.0 \| 4.115.0 \| 4.116.0 \| 4.117.0 \| 4.118.0 \| 4.118.1

## References

- <https://hhvm.com/blog/2021/07/20/security-update.html>
- <https://github.com/facebook/folly/commit/4f304af1411e68851bdd00ef6140e9de4616f7d3>
- <https://www.facebook.com/security/advisories/cve-2021-24036>
- <https://ubuntu.com/security/CVE-2021-24036>
- <https://www.cve.org/CVERecord?id=CVE-2021-24036>

---

Data as of 2026-12-05T09:54:34.723Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
