PHP: denial of service via imagegammacorrect function
Multiple products
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 6.842%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:php | php | Affected versions:≤ 5.6.24Show full version range for php7.0.07.0.17.0.27.0.37.0.47.0.57.0.67.0.77.0.87.0.9 |
| Vendor:redhat | phpEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php
|
| Vendor:redhat | php-bcmathEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-bcmath
|
| Vendor:redhat | php-cliEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-cli
|
| Vendor:redhat | php-commonEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-common
|
| Vendor:redhat | php-dbaEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-dba
|
| Vendor:redhat | php-develEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-devel
|
| Vendor:redhat | php-embeddedEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-embedded
|
| Vendor:redhat | php-enchantEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-enchant
|
| Vendor:redhat | php-fpmEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-fpm
|
1–10 of 401 · Page 1 of 41
CVSS scores and metrics11
[email protected] · NVD (Primary)Primary9.8 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCVE-2016-7127 · OSV (source-vector)9.8 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hnvd · Wazuh CTI (cna)9.8 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hcanonical · Wazuh CTI (adp)9.8 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hredhat · Wazuh CTI (adp)7.5 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HRed Hat · Red Hat VEX (adp)7.5 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSUSE · SUSE VEX (adp)9.8 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H[email protected] · NVD (Primary)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:Predhat · Wazuh CTI (adp)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:N/I:N/A:Pnvd · Wazuh CTI (cna)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:PRed Hat · Red Hat VEX (adp)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:N/I:N/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories30
- cve.org
- NVD
- OSV
- Wazuh CTI
- Red Hat VEX
- SUSE VEX
- FIRST EPSS
- securityfocus.com
- security.gentoo.org
- tenable.com
- openwall.com
- securitytracker.com
- github.com
- bugs.php.net
- rhn.redhat.com
- php.net
- php.net
- ubuntu.com
- ubuntu.com
- security-tracker.debian.org
- SUSE CVE-2016-7127
- SUSE-SU-2016:2328-1
- SUSE-SU-2016:2408-1
- SUSE-SU-2016:2459-1
- SUSE-SU-2016:2460-1
- SUSE-SU-2016:2460-2
- openSUSE-SU-2016:2337-1
- openSUSE-SU-2016:2451-1
- access.redhat.com
- Mitre CVE-2016-7127
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences