CVE-2016-7126

    Dashboard / Vulnerabilities / CVE-2016-7126

    CVE-2016-7126

    Published: 12 Sept 2016Last Modified: 20 Oct 2026

    Summary:

    Details: The imagetruecolortopalette function in ext/gd/gd.c in PHP before 5.6.25 and 7.x before 7.0.10 does not properly validate the number of colors, which allows remote attackers to cause a denial of service (select_colors allocation error and out-of-bounds write) or possibly have unspecified other impact via a large value in the third argument.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    7.0.0
    7.0.1
    7.0.2
    7.0.3
    7.0.4
    7.0.5
    7.0.6
    7.0.7
    7.0.8
    7.0.9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High