CVE Database›CVE-2016-8670

CVE-2016-8670

php: Stack based buffer overflow in dynamicGetbuf

Loading…

Severity

Moderate

Red Hat Product Security

8.1

CVSS 3.0

Review impact separately from score.

Published · October 10, 2016

Updated · June 27, 2026

Description

A vulnerability was found in gd. Integer underflow in a calculation in dynamicGetbuf() was incorrectly handled, leading in some circumstances to an out of bounds write through a very large argument to memcpy(). An attacker could create a crafted image that would lead to a crash or, potentially, code execution.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.0 · 8.1
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS 2.0 · 5.1
AV:N/AC:H/Au:N/C:P/I:P/A:P

CWE-121 · Stack-based Buffer Overflow