CVE-2020-1898: facebook hhvm Uncontrolled Recursion
Vulnerability summary
CVE-2020-1898 is a high (CVSS 7.5) Uncontrolled Recursion vulnerability in facebook hhvm. EPSS estimates a 1.21% chance of exploitation in the next 30 days, higher than 68% of scored vulnerabilities.
Timeline
- 11-03-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
The fb_unserialize function did not impose a depth limit for nested deserialization. That meant a maliciously constructed string could cause deserialization to recurse, leading to stack exhaustion. This issue affected HHVM prior to v4.32.3, between versions 4.33.0 and 4.56.0, 4.57.0, 4.58.0, 4.58.1, 4.59.0, 4.60.0, 4.61.0, 4.62.0.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.21%
Chance of exploitation in the next 30 days
Percentile
68%
Versus all other CVEs
30-day change
0.00 pp
From 1.21% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Facebook1 product
- hhvm≥ 4.58.0, < unspecified | ≥ 4.33.0, < unspecified | ≥ unspecified, < 4.32.3 | < 4.32.3 | ≥ 4.33.0, < 4.56.1 | 4.57.0 | 4.58.0 | 4.58.1 | 4.59.0 | 4.60.0 | 4.61.0 | 4.62.0
Ubuntu1 product
- hhvmAll versions (No fix recorded)
2 vendors · 2 products
References
4 links- github.com/facebook/hhvm/commit/1746dfb11fc0048366f34669e74318b8278a684cX Refsource MISCREPORTPatchThird Party Advisory