Due to incorrect string size calculations inside the preg_quote function, a large input string passed to the function…
Facebook HHVM
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Facebook HHVM |
|
|
Facebook HHVM
| Product | Affected | Fixed in |
|---|---|---|
| Facebook HHVM |
|
|
Due to incorrect string size calculations inside the preg_quote function, a large input string passed to the function can trigger an integer overflow leading to a heap overflow. This issue affects HHVM versions prior to 4.56.3, all versions between 4.57.0 and 4.80.1, all versions between 4.81.0 and 4.93.1, and versions 4.94.0, 4.95.0, 4.96.0, 4.97.0, 4.98.0.
From the CVE record · facebook
HHVM’s preg_quote function calculates string sizes incorrectly. An attacker who can pass a large string to the function can trigger an integer overflow leading to a heap overflow. The input does not specify whether network access, authentication, or user interaction is required.
Anyone running HHVM before 4.56.3, from 4.57.0 through 4.80.1, from 4.81.0 through 4.93.1, or versions 4.94.0 through 4.98.0 should check their installation.