LiveActive security incident?Get immediate response
CVE Record

CVE-2018-6337: folly::secureRandom will re-use a buffer between parent and child processes when fork() is called.

folly::secureRandom will re-use a buffer between parent and child processes when fork() is called. That will result in multiple forked children producing repeat (or similar) results. This affects HHVM 3.26 prior to 3.26.3 and the folly library between v2017.12.11.00 and v2018.08.09.00.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Some versions of HHVM and Facebook Folly could generate repeated random values after a process forks. If those values protect tokens, identifiers, or other trust decisions, duplicates can undermine integrity. The source bundle names fixed HHVM 3.26.3 and a Folly fix commit, but does not show active exploitation.

Executive priority

Treat as high priority where HHVM or Folly supports authentication, session, token, or workflow integrity. For organizations without those components, urgency is lower. Because active exploitation is not evidenced in the supplied sources, prioritize exposure confirmation and patching over incident escalation.

Technical view

folly::secureRandom reuses a buffer between parent and child processes when fork() is called, so forked children may produce repeated or similar results. Affected ranges are HHVM 3.26 before 3.26.3 and Folly between v2017.12.11.00 and v2018.08.09.00. CVSS 3.1 is 7.5 with high integrity impact.

Likely exposure

Exposure is likely in services using HHVM 3.26 before 3.26.3 or applications embedding vulnerable Folly releases, especially fork-based worker services relying on folly::secureRandom for security-sensitive randomness. Systems not using HHVM or Folly are not indicated as affected by the provided sources.

Exploitation context

The source bundle does not cite known public exploitation, and KEV status is false. Practical risk depends on whether repeated random output influences security decisions such as tokens, nonces, identifiers, or authorization workflows. The provided sources do not describe exploit procedures or observed attacks.

Researcher notes

The key exposure question is whether affected code paths call folly::secureRandom in forked child processes and then use the output for security-sensitive integrity decisions. Evidence is limited to the CVE description, HHVM 3.26.3 release reference, and upstream commits; no broader affected-product list is provided.

Mitigation direction

  • Upgrade HHVM 3.26 deployments to 3.26.3 or later vendor-fixed builds.
  • Update Folly outside the vulnerable v2017.12.11.00 to v2018.08.09.00 range.
  • Prioritize services that fork workers and use Folly randomness in trust decisions.
  • Check current vendor guidance before choosing compensating controls or backports.

Validation and detection

  • Inventory HHVM versions across production, CI images, and deploy artifacts.
  • Inventory direct and transitive Folly versions in application builds.
  • Identify fork-based services that call folly::secureRandom after process creation.
  • Review whether random outputs protect tokens, nonces, identifiers, or authorization logic.
  • Confirm patched builds include the referenced HHVM or Folly fixes.
Prepared
Confidence
high
Sources
5

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.

cwe · low confidence lookup

CWE-212: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2018-6337 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
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

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

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.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N3.93.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2018-6337Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
FacebookHHVM3.26.3, 3.26.0, unspecifiedListed
Facebookfollyv2018.08.09.00, v2017.12.11.00, unspecifiedListed
Weakness

CWE details

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

CWE-212 · source CWE mapping

Improper Removal of Sensitive Information Before Storage or Transfer

Improper Removal of Sensitive Information Before Storage or Transfer represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.