LiveActive security incident?Get immediate response
CVE Record

CVE-2014-5386: The mcrypt_create_iv function in hphp/runtime/ext/mcrypt/ext_mcrypt.cpp in Facebook HipHop Virtual Machine...

The mcrypt_create_iv function in hphp/runtime/ext/mcrypt/ext_mcrypt.cpp in Facebook HipHop Virtual Machine (HHVM) before 3.3.0 does not seed the random number generator, which makes it easier for remote attackers to defeat cryptographic protection mechanisms by leveraging the use of a single initialization vector.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

HHVM versions before 3.3.0 could generate predictable or repeated cryptographic initialization vectors because mcrypt_create_iv did not seed its random number generator. That can weaken encryption or other protections that depend on unique random values. The sources do not provide a CVSS score or evidence of active exploitation.

Executive priority

Treat as a targeted legacy-platform risk. Prioritize if old HHVM supports customer-facing or sensitive-data applications. Without evidence of active exploitation or a CVSS score, urgency depends on whether vulnerable HHVM and affected cryptographic usage exist internally.

Technical view

The issue is in hphp/runtime/ext/mcrypt/ext_mcrypt.cpp: mcrypt_create_iv failed to seed the RNG in HHVM before 3.3.0. A remote attacker could more easily defeat cryptographic protection mechanisms where applications relied on a single or repeated initialization vector.

Likely exposure

Exposure is limited to systems running Facebook HHVM before 3.3.0 and applications that used mcrypt_create_iv for cryptographic IV generation. The source bundle does not identify broader products, package names, or default configurations.

Exploitation context

CISA KEV status is false, and the provided sources do not claim active exploitation. The CVE describes remote attackers potentially weakening cryptographic protections, but no exploit maturity, real-world incidents, or exploitation prerequisites are provided.

Researcher notes

Evidence is sparse: the CVE description and one HHVM commit are the main sources. Focus validation on version confirmation and whether application security actually depended on mcrypt_create_iv output. Avoid assuming impact where the function was unused.

Mitigation direction

  • Upgrade HHVM deployments to version 3.3.0 or later.
  • Review the referenced HHVM commit and vendor guidance before production rollout.
  • Identify applications relying on mcrypt_create_iv for cryptographic initialization vectors.
  • Assess whether affected encrypted data or tokens need rotation after remediation.

Validation and detection

  • Inventory HHVM versions and flag any deployment before 3.3.0.
  • Search application code for mcrypt_create_iv usage under HHVM.
  • Confirm upgraded systems include the referenced RNG seeding change.
  • Review cryptographic workflows for repeated or single-IV assumptions.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2014-5386 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.