The imagegammacorrect function in ext/gd/gd.c in PHP before 5.6.25 and 7.x before 7.0.10 does not properly validate gamma values, which allows remote attackers to cause a denial of service (out-of-bounds write) or possibly have unspecified other impact by providing different signs for the second and third arguments.
2016-09-12T01:59:05.707
2025-04-12T10:46:40.837
Deferred
CVSSv3.0: 9.8 (CRITICAL)
AV:N/AC:L/Au:N/C:P/I:P/A:P
10.0
6.4
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Application | php | php | ≤ 5.6.24 | Yes |
Application | php | php | 7.0.0 | Yes |
Application | php | php | 7.0.1 | Yes |
Application | php | php | 7.0.2 | Yes |
Application | php | php | 7.0.3 | Yes |
Application | php | php | 7.0.4 | Yes |
Application | php | php | 7.0.5 | Yes |
Application | php | php | 7.0.6 | Yes |
Application | php | php | 7.0.7 | Yes |
Application | php | php | 7.0.8 | Yes |
Application | php | php | 7.0.9 | Yes |