CVE-2020-1898
CVE-2020-1898 is a high-severity vulnerability in Facebook Hhvm with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-674.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v2: 5.0
- EPSS exploit prediction: 1% (65th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-674
- Affected product: Facebook Hhvm
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2020-1898?
- 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.
- How severe is CVE-2020-1898?
- CVE-2020-1898 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2020-1898 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (65th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2020-1898?
- CVE-2020-1898 primarily affects Facebook Hhvm. In total, 8 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2020-1898?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2020-1898 published?
- CVE-2020-1898 was published on 2021-03-11 and last updated on 2026-06-17.
References
- https://github.com/facebook/hhvm/commit/1746dfb11fc0048366f34669e74318b8278a684c
- https://hhvm.com/blog/2020/06/30/security-update.html
Affected products (8)
- cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*
- cpe:2.3:a:facebook:hhvm:4.57.0:*:*:*:*:*:*:*
- cpe:2.3:a:facebook:hhvm:4.58.0:*:*:*:*:*:*:*
- cpe:2.3:a:facebook:hhvm:4.58.1:*:*:*:*:*:*:*
- cpe:2.3:a:facebook:hhvm:4.59.0:*:*:*:*:*:*:*
- cpe:2.3:a:facebook:hhvm:4.60.0:*:*:*:*:*:*:*
- cpe:2.3:a:facebook:hhvm:4.61.0:*:*:*:*:*:*:*
- cpe:2.3:a:facebook:hhvm:4.62.0:*:*:*:*:*:*:*
More vulnerabilities in Facebook Hhvm
- CVE-2022-36937 — Critical (CVSS 9.8): HHVM 4.172.0 and all prior versions use TLS 1.0 for secure connections when handling tls:// URLs in the stream…
- CVE-2021-24036 — Critical (CVSS 9.8): Passing an attacker controlled size when creating an IOBuf could cause integer overflow, leading to an out of bounds…
- CVE-2020-1900 — Critical (CVSS 9.8): When unserializing an object with dynamic properties HHVM needs to pre-reserve the full size of the dynamic property…
- CVE-2021-24025 — Critical (CVSS 9.8): Due to incorrect string size calculations inside the preg_quote function, a large input string passed to the function…
- CVE-2020-1917 — Critical (CVSS 9.8): xbuf_format_converter, used as part of exif_read_data, was appending a terminating null character to the generated…
- CVE-2020-1916 — Critical (CVSS 9.8): An incorrect size calculation in ldap_escape may lead to an integer overflow when overly long input is passed in,…
All CVEs affecting Facebook Hhvm →
Other CWE-674 (Uncontrolled Recursion) vulnerabilities
- CVE-2026-43185 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix signededness bug in…
- CVE-2023-51803 — Critical (CVSS 9.8): LinuxServer.io Heimdall before 2.5.7 does not prevent use of icons that have non-image data such as the "<?php ?>"…
- CVE-2021-41752 — Critical (CVSS 9.8): Stack overflow vulnerability in Jerryscript before commit e1ce7dd7271288be8c0c8136eea9107df73a8ce2 on Oct 20, 2021 due…
- CVE-2018-1000618 — Critical (CVSS 9.8): EOSIO/eos eos version after commit f1545dd0ae2b77580c2236fdb70ae7138d2c7168 contains a stack overflow vulnerability in…
- CVE-2025-10728 — Critical (CVSS 9.4): When the module renders a Svg file that contains a <pattern> element, it might end up rendering it recursively leading…
- CVE-2026-40324 — Critical (CVSS 9.1): Hot Chocolate is an open-source GraphQL server. Prior to versions 12.22.7, 13.9.16, 14.3.1, and 15.1.14, Hot…
Browse all CWE-674 (Uncontrolled Recursion) vulnerabilities →