description: Insufficient boundary checks when processing the JPEG APP12 block marker in the GD extension could allow access to out-of-bounds memory via a maliciously constructed invalid JPEG input. This issue affects HHVM versions prior to 3.30.9, all versions between 4.0.0 and 4.8.3, all versions between 4.9.0 and 4.15.2, and versions 4.16.0 to 4.16.3, 4.17.0 to 4.17.2, 4.18.0 to 4.18.1, 4.19.0, 4.20.0 to 4.20.1.
problem types: CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
affected:
{
product: HHVM
vendor: Facebook
versions:
status: affected, version: 4.21.0
status: affected, version: 4.20.2
lessThan: unspecified, status: affected, version: 4.20.0, versionType: custom
status: affected, version: 4.19.1
lessThan: unspecified, status: affected, version: 4.19.0, versionType: custom
status: affected, version: 4.18.2
lessThan: unspecified, status: affected, version: 4.18.0, versionType: custom
status: affected, version: 4.17.3
lessThan: unspecified, status: affected, version: 4.17.0, versionType: custom
status: affected, version: 4.16.4
lessThan: unspecified, status: affected, version: 4.16.0, versionType: custom
status: affected, version: 4.15.3
lessThan: unspecified, status: affected, version: 4.9.0, versionType: custom
status: affected, version: 4.8.4
lessThan: unspecified, status: affected, version: 4.0.0, versionType: custom
status: affected, version: 3.30.10
lessThanOrEqual: 3.30.9, status: affected, version: unspecified, versionType: custom
}