When unserializing an object with dynamic properties HHVM needs to pre-reserve the full size of the dynamic property…
Facebook HHVM
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Facebook HHVM |
|
|
Facebook HHVM
| Product | Affected | Fixed in |
|---|---|---|
| Facebook HHVM |
|
|
When unserializing an object with dynamic properties HHVM needs to pre-reserve the full size of the dynamic property array before inserting anything into it. Otherwise the array might resize, invalidating previously stored references. This pre-reservation was not occurring in HHVM prior to v4.32.3, between versions 4.33.0 and 4.56.0, 4.57.0, 4.58.0, 4.58.1, 4.59.0, 4.60.0, 4.61.0, 4.62.0.
From the CVE record · facebook
HHVM may invalidate stored references when unserializing an object with dynamic properties because it does not pre-reserve the property array. This can cause a use-after-free if an affected version processes such an object. The input does not specify whether exploitation requires network access, authentication, or user interaction.
Engineers running Facebook HHVM prior to v4.32.3, between v4.33.0 and v4.56.0, or on v4.57.0, v4.58.0, v4.58.1, or v4.59.0 through v4.62.0 should check their installations.