An incorrect size calculation in ldap_escape may lead to an integer overflow when overly long input is passed in resulting in an out-of-bounds write. This issue affects HHVM prior to 4.56.2 all versions between 4.57.0 and 4.78.0 4.79.0 4.80.0 4.81.0 4.82.0 4.83.0.