Security mailing lists by PureSourceCode

CVE-2019-3570

CRITICAL 9.8CVSS 3.1

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.

Published
18 Jul 2019
Last modified
17 Jun 2026
Assigned by
cve-assign@fb.com
NVD status
Modified
Weakness
CWE-122CWE-787
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD facebook hiphop_virtual_machine
cpe:2.3:a:facebook:hiphop_virtual_machine:*:*:*:*:*:*:*:*
<= 3.30.5
NVD facebook hiphop_virtual_machine
cpe:2.3:a:facebook:hiphop_virtual_machine:*:*:*:*:*:*:*:*
>= 4.0.0, <= 4.0.4
NVD facebook hiphop_virtual_machine
cpe:2.3:a:facebook:hiphop_virtual_machine:4.1.0:*:*:*:*:*:*:*
= 4.1.0
NVD facebook hiphop_virtual_machine
cpe:2.3:a:facebook:hiphop_virtual_machine:4.2.0:*:*:*:*:*:*:*
= 4.2.0
NVD facebook hiphop_virtual_machine
cpe:2.3:a:facebook:hiphop_virtual_machine:4.3.0:*:*:*:*:*:*:*
= 4.3.0
NVD facebook hiphop_virtual_machine
cpe:2.3:a:facebook:hiphop_virtual_machine:4.4.0:*:*:*:*:*:*:*
= 4.4.0
NVD facebook hiphop_virtual_machine
cpe:2.3:a:facebook:hiphop_virtual_machine:4.5.0:*:*:*:*:*:*:*
= 4.5.0
NVD facebook hiphop_virtual_machine
cpe:2.3:a:facebook:hiphop_virtual_machine:4.6.0:*:*:*:*:*:*:*
= 4.6.0
NVD facebook hiphop_virtual_machine
cpe:2.3:a:facebook:hiphop_virtual_machine:4.7.0:*:*:*:*:*:*:*
= 4.7.0
NVD facebook hiphop_virtual_machine
cpe:2.3:a:facebook:hiphop_virtual_machine:4.8.0:*:*:*:*:*:*:*
= 4.8.0

References

History

  • 25 Nov 2026 20:22 UTC · NVD: first stored (published 18 Jul 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.