CVE-2020-1898

published 11 Mar 2021 · updated 4 Aug 2024

The fb_unserialize function did not impose a depth limit for nested deserialization

5.0MediumEPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 4.32.3 and unspecified.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Facebook<4.32.3, =4.57.0, =4.59.0, =4.60.0, =4.61.0, =4.62.0, >=4.33.0 <unspecified, >=4.58.0 <unspecified4.32.3, unspecified

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2020-1898 severity on Zeptric[![CVE-2020-1898](https://zeptric.io/badge/cve/CVE-2020-1898.svg)](https://zeptric.io/cve/CVE-2020-1898)