HhvmApplication · Facebook

CVE-2016-1000006

CRITICAL · 9.8 CVSS v3.1 Published 2019-11-19
Fix available
A fix is available. Upgrade to 3.12.11 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
hhvm before 3.12.11 has a use-after-free in the serialize_memoize_param() and ResourceBundle::__construct() functions.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Use-after-free vulnerability in HHVM (HipHop Virtual Machine) affecting serialize_memoize_param() and ResourceBundle::__construct() functions. This memory corruption issue allows arbitrary code execution and is rated critical due to the high impact of memory safety vulnerabilities.

MitigationUpgrade to HHVM version 3.12.11 or later to patch the use-after-free vulnerability. If immediate upgrade is not feasible, restrict network exposure and monitor for exploitation attempts.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
HhvmApplication
Affected:< 3.12.11

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Verify HHVM is installed
    Run `which hhvm` or `hhvm --version` to confirm HHVM is present on the system
    Affected if HHVM command is found and returns a version number
  2. Determine installed HHVM version
    Execute `hhvm --version` and extract the full version string (e.g., 3.10.0, 3.12.5, etc.)
    Affected if Version output is returned showing a version number less than 3.12.11
  3. Compare version against affected range
    Parse the version number from step 2 and compare it to the affected range: any version < 3.12.11 is vulnerable
    Affected if Installed version is 3.12.10 or lower, or any 3.x version below 3.12.11
  4. Identify if vulnerable functions are in use (optional)
    Search application code for calls to `serialize_memoize_param()` or instantiation of `ResourceBundle` class via `new ResourceBundle()`
    Affected if Code uses either function and HHVM version is in the affected range

A system is affected if HHVM is installed and the running version is any version lower than 3.12.11, particularly if code utilizes the serialize_memoize_param() or ResourceBundle::__construct() functions.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 3.12.11 or later
Fixed in 3.12.11
Interim mitigation

Upgrade to HHVM version 3.12.11 or later to patch the use-after-free vulnerability. If immediate upgrade is not feasible, restrict network exposure and monitor for exploitation attempts.

Recommended fix High confidence

HHVM 3.12.11 or later

  1. Identify the current HHVM version installed in the environment
  2. Plan downtime window for the upgrade process
  3. Back up any critical data and configuration files
  4. Upgrade HHVM to version 3.12.11 or later
  5. Verify the upgrade was successful by checking the new HHVM version
  6. Restart any services or applications that depend on HHVM
  7. Test that affected functionality (serialize_memoize_param and ResourceBundle) works correctly

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Hhvm Scoped from the published advisory
  • Consultation4.0 h
  • Implementation4.0 h
  • Testing8.0 h
  • Review / QA4.0 h
20.0 hours of engineering $3,440
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,504.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2016-1000006 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2016-1000006 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data