CVE-2020-1916

Summary

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.

Affected Software

VendorProductVersion RangeStatus
FacebookHHVM4.83.1 < unspecifiedunaffected
FacebookHHVM4.83.0affected
FacebookHHVM4.82.1 < unspecifiedunaffected
FacebookHHVM4.82.0affected
FacebookHHVM4.81.1 < unspecifiedunaffected
FacebookHHVM4.81.0affected
FacebookHHVM4.80.1 < unspecifiedunaffected
FacebookHHVM4.80.0affected
FacebookHHVM4.79.1 < unspecifiedunaffected
FacebookHHVM4.79.0affected
FacebookHHVM4.78.1 < unspecifiedunaffected
FacebookHHVM4.57.0 < unspecifiedaffected
FacebookHHVM4.56.2 < unspecifiedunaffected
FacebookHHVMunspecified < 4.56.2affected

Weaknesses

  • CWE-122: Heap-based Buffer Overflow (CWE-122)

ADP Enrichment

CVE Program Container

Additional References

References