9.8crit

CVE-2016-7126in critical feed

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 col…

Published 10 y ago · modified 4 mo ago · JSON

CVSS
9.8
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
8.8%
percentile 95%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

8.82% probability of exploitation in the next 30 days, higher than 95% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.19.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD2.07.5AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
Technology feeds
PHP (RSS, critical only)

References

  • php.net /ChangeLog-7.php · x_refsource_CONFIRM, x_transferred
  • security.gentoo.org /glsa/201611-22 · vendor-advisory, x_refsource_GENTOO, x_transferred
  • securitytracker.com /id/1036680 · vdb-entry, x_refsource_SECTRACK, x_transferred
  • github.com /php/php-src/commit/b6f13a5ef9d6280cf984826a5de012a32c396cd4?w=1 · x_refsource_CONFIRM, x_transferred
  • rhn.redhat.com /errata/RHSA-2016-2750.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • securityfocus.com /bid/92755 · vdb-entry, x_refsource_BID, x_transferred
  • php.net /ChangeLog-5.php · x_refsource_CONFIRM, x_transferred
  • tenable.com /security/tns-2016-19 · x_refsource_CONFIRM, x_transferred
  • openwall.com /lists/oss-security/2016/09/02/9 · mailing-list, x_refsource_MLIST, x_transferred
  • bugs.php.net /bug.php?id=72697 · x_refsource_CONFIRM, x_transferred
  • github.com /php/php-src/commit/28022c9b1fd937436ab67bb3d61f652c108baf96 · x_refsource_CONFIRM, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.