Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2019-3570

Call to the scrypt_enc() function in HHVM can lead to heap corruption by using specifically crafted parameters (N, r and p). This happens…

Critical9.8EPSS 1.7%
Published
Updated
Reserved
Assigned by
facebook

Description

Call to the scrypt_enc() function in HHVM can lead to heap corruption by using specifically crafted parameters (N, r and p). This happens if the parameters are configurable by an attacker for instance by providing the output of scrypt_enc() in a context where Hack/PHP code would attempt to verify it by re-running scrypt_enc() with the same parameters. This could result in information disclosure, memory being overwriten or crashes of the HHVM process. This issue affects versions 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, versions 3.30.5 and below, and all versions in the 4.0, 4.1, and 4.2 series.

Scores

CVSS scores of CVE-2019-3570, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified3.1Critical9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (exploitation in 30 days)
1.7% · top 23% of all CVEs (5 Nov 2026)
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.

Weakness

Affected products

  • Facebook · HHVM

    • affected 4.8.1
    • affected 4.8.0
    • affected 4.7.1
    • affected 4.7.0
    • affected 4.6.1
    • affected 4.6.0
    • affected 4.5.1
    • affected 4.5.0
    • affected 4.4.1
    • affected 4.4.0
    • affected 4.3.1
    • affected 4.0.0 – < unspecified
    • affected 3.30.6
    • affected unspecified – ≤ 3.30.5

References (2)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2019-3570 badge
[![CVE-2019-3570](https://trackcve.app/badge/CVE-2019-3570.svg)](https://trackcve.app/cve/CVE-2019-3570)

Record last updated .