CVEvulnerability
CVE-2020-1900
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2021-03-11
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-416
Description
When unserializing an object with dynamic properties HHVM needs to pre-reserve the full size of the dynamic property array before inserting anything into it. Otherwise the array might resize, invalidating previously stored references. This pre-reservation was not occurring in 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 configurations
• facebook hhvm (< 4.32.3)
• facebook hhvm (>= 4.33.0 < 4.56.1)
• facebook hhvm 4.57.0
• facebook hhvm 4.58.0
• facebook hhvm 4.58.1
• facebook hhvm 4.59.0
• facebook hhvm 4.60.0
• facebook hhvm 4.61.0
• facebook hhvm 4.62.0
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://github.com/facebook/hhvm/commit/c1c4bb0cf9e076aafaf4ff3515556ef9faf906f3 Patch, Third Party Advisory
- https://hhvm.com/blog/2020/06/30/security-update.html Vendor Advisory
- https://github.com/facebook/hhvm/commit/c1c4bb0cf9e076aafaf4ff3515556ef9faf906f3 Patch, Third Party Advisory
- https://hhvm.com/blog/2020/06/30/security-update.html Vendor Advisory