CVE-2020-1900: Use After Free

Published Mar 11, 2021
·
Updated

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 Software

9 affected components
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

Event History

Mar 11, 2021
CVE Published
via MITRE·12:55 AM
Data Sourced
via MITRE·12:55 AM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-1900?

CVE-2020-1900 is a vulnerability in Facebook HHVM that allows an attacker to resize the dynamic property array, potentially invalidating previously stored references.

2

How does CVE-2020-1900 impact HHVM?

CVE-2020-1900 affects HHVM versions prior to v4.32.3, and from v4.33.0 to v4.56.1. It does not affect HHVM versions v4.57.0 and above.

3

What is the severity of CVE-2020-1900?

CVE-2020-1900 has a severity rating of 9.8, which is considered critical.

4

How can I fix CVE-2020-1900?

To fix CVE-2020-1900, update your HHVM installation to version v4.32.3 or higher if you are using a vulnerable version.

5

Where can I find more information about CVE-2020-1900?

More information about CVE-2020-1900 can be found in the official security update blog post by HHVM (https://hhvm.com/blog/2020/06/30/security-update.html) and in the GitHub commit (https://github.com/facebook/hhvm/commit/c1c4bb0cf9e076aafaf4ff3515556ef9faf906f3).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203