CVE-2019-3570

Summary

CVECVE-2019-3570
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2019-07-18 16:15:00 UTC
Updated2020-10-16 15:14:00 UTC
DescriptionCall 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.

Risk And Classification

Problem Types: CWE-787

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Facebook Hiphop Virtual Machine 4.1.0 All All All
Application Facebook Hiphop Virtual Machine 4.2.0 All All All
Application Facebook Hiphop Virtual Machine 4.3.0 All All All
Application Facebook Hiphop Virtual Machine 4.4.0 All All All
Application Facebook Hiphop Virtual Machine 4.5.0 All All All
Application Facebook Hiphop Virtual Machine 4.6.0 All All All
Application Facebook Hiphop Virtual Machine 4.7.0 All All All
Application Facebook Hiphop Virtual Machine 4.8.0 All All All
Application Facebook Hiphop Virtual Machine 4.1.0 All All All
Application Facebook Hiphop Virtual Machine 4.2.0 All All All
Application Facebook Hiphop Virtual Machine 4.3.0 All All All
Application Facebook Hiphop Virtual Machine 4.4.0 All All All
Application Facebook Hiphop Virtual Machine 4.5.0 All All All
Application Facebook Hiphop Virtual Machine 4.6.0 All All All
Application Facebook Hiphop Virtual Machine 4.7.0 All All All
Application Facebook Hiphop Virtual Machine 4.8.0 All All All
Application Facebook Hiphop Virtual Machine All All All All
Application Facebook Hiphop Virtual Machine All All All All

References

ReferenceSourceLinkTags
HHVM 4.9.0, and security updates for 3.30, and 4.3-4.7 | HHVM CONFIRM hhvm.com Release Notes, Vendor Advisory
Replace copied scrypt implementation with call to libsodium · facebook/hhvm@cc331e4 · GitHub CONFIRM github.com Patch, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report