SecurityContext

CVE-2019-3557: HHVM - Out of Bounds Read

  • Cve: CVE-2019-3557
  • Name: HHVM - Out of Bounds Read
  • Description: The implementations of streams for bz2 and php://output improperly implemented their readImpl functions, returning -1 consistently. This behavior caused some stream functions, such as stream_get_line, to trigger an out-of-bounds read when operating on such malformed streams. The implementations were updated to return valid values consistently. This affects all supported versions of HHVM (3.30 and 3.27.4 and below).
  • Impact: Attackers can cause out-of-bounds reads, potentially leading to information disclosure or application crashes.
  • Remediation: Update HHVM to version 3.30.1 or later, or latest supported version.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: information_disclosure, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01711
  • Epss percentile: 0.77973
  • Assignee: [email protected]
  • Published at: 2019-01-15T22:29:00Z
  • Age in days: 2870
  • Modified at: 2026-06-17T02:35:13Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-3557
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-125Out-of-bounds Read

References

UrlSourceTags
https://github.com/facebook/hhvm/commit/6e4dd9ec3f14b48170fc45dc9d13a3261765f994nvdPatch, Third Party Advisory
https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.htmlnvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
facebook:hhvm>= 3.28.0, <= 3.30.0; <= 3.27.4nonvd/v1/products/facebook/hhvm

Projects

RepositoryLink kindsIndexedUrl
facebook/hhvmcommit, fixyes/v1/repositories/facebook/hhvm
meta/hhvmfixyes/v1/repositories/meta/hhvm

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 25923
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports