SecurityContext

CVE-2020-1900: HHVM - Insecure Deserialization

  • Cve: CVE-2020-1900
  • Name: HHVM - Insecure Deserialization
  • 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.
  • Impact: References to dynamic properties may become invalid, leading to potential memory corruption or unpredictable behavior.
  • Remediation: Update HHVM to version 4.62.1 or later where the issue is fixed.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01384
  • Epss percentile: 0.7291
  • Assignee: [email protected]
  • Published at: 2021-03-11T01:15:14Z
  • Age in days: 2084
  • Modified at: 2026-06-17T03:02:34Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-1900
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-416Use After Free

References

UrlSourceTags
https://github.com/facebook/hhvm/commit/c1c4bb0cf9e076aafaf4ff3515556ef9faf906f3nvdPatch, Third Party Advisory
https://hhvm.com/blog/2020/06/30/security-update.htmlnvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
facebook:hhvm= 4.62.0; = 4.61.0; = 4.60.0; = 4.59.0; = 4.58.1; = 4.58.0; = 4.57.0; >= 4.33.0, < 4.56.1; < 4.32.3nonvd/v1/products/facebook/hhvm

Projects

RepositoryLink kindsIndexedUrl
facebook/hhvmcommit, fixyes/v1/repositories/facebook/hhvm
meta/hhvmfixyes/v1/repositories/meta/hhvm

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 25773
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports