Read the docs
TI-2018-04669 Aliases CVE-2018-6345GHSA-g4fr-ffvg-p5w6

Heap-based buffer overflow in Meta HHVM

Priority MEDIUM 46CWE-122Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-122 and the CVSS impact.

Summary

The function number_format is vulnerable to a heap overflow issue when its second argument ($dec_points) is excessively large. The internal implementation of the function will cause a string to be created with an invalid length, which can then interact poorly with other functions. This affects all supported versions of HHVM (3.30.1 and 3.27.5 and below).

Why it matters now

EPSS 0.01748 77th percentileScored 2026-11-07
Fix Fixed HHVM (Facebook): 3.27.6

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
MetaHHVM3.30.2; 3.30.0 and later; 3.27.6; before 3.27.63.27.6Patch availableCNA
  • HHVM VendorMeta Affected 3.30.2; 3.30.0 and later; 3.27.6; before 3.27.6 Fixed in 3.27.6 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*up to 3.27.5; 3.28.0 – 3.30.1VulnerableMeta
  • cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:* Versions up to 3.27.5; 3.28.0 – 3.30.1 Vulnerable ·Meta

Remediation

  • Fix · CNA HHVM (Facebook) Fixed in 3.27.6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-6345
  2. 2026-10-03 Alias added: GHSA-g4fr-ffvg-p5w6

References

  • TI-2018-04659 Improper input validation in Meta HHVM CVSS 3.1CRITICAL 9.8
  • TI-2022-17147 Broken or risky cryptographic algorithm in Meta HHVM CVSS 3.1CRITICAL 9.8
  • TI-2019-08934 Memory corruption in Meta HHVM CVSS 3.1CRITICAL 9.8
  • TI-2021-06352 Heap-based buffer overflow in Meta folly CVSS 3.1CRITICAL 9.8
  • TI-2019-08935 An invalid free in mb_detect_order can cause the application to crash or potentially… CVSS 3.1CRITICAL 9.8
  • TI-2016-05898 Integer overflow in bcmath in Facebook HHVM before 3.15.0 allows attackers to have… CVSS 3.0CRITICAL 9.8
See all 39 →

Sources