Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2017-7890

published

php: Buffer over-read from unitialized data in gdImageCreateFromGifCtx function

Title from Red Hat VEX

Published
02 Aug 2017, 19:00:00 UTC
Updated
05 Aug 2024, 16:19:29 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Alpine Linux v3.4 gd Fixed 2.2.5-r0 Package fix record
Debian jessie libgd2 Advisory build 2.1.0-5+deb8u10 DSA-3938-1
Oracle Linux 7 phpx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Red Hat Enterprise Linux RHEL-6 rh-php70-phpsrc Advisory build 7.0.27-1.el6 RHSA-2018:1296
Alpine Linux v3.5 gd Fixed 2.2.5-r0 Package fix record
Alpine Linux v3.6 gd Fixed 2.2.5-r0 Package fix record
Alpine Linux v3.7 php7 Fixed 7.1.7-r0 Package fix record
Show 93 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian stretch libgd2 Advisory build 2.2.4-2+deb9u1 DSA-3938-1
Debian wheezy libgd2 Advisory build 2.0.36~rc1~dfsg-6.1+deb7u9 DLA-1055-1
Oracle Linux 7 php-bcmathx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-clix86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-commonx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-dbax86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-develx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-embeddedx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-enchantx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-fpmx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-gdx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-intlx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-ldapx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-mbstringx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-mysqlx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-mysqlndx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-odbcx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-pdox86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-pgsqlx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-processx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-pspellx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-recodex86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-snmpx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-soapx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-xmlx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Oracle Linux 7 php-xmlrpcx86_64 Advisory build 0:5.4.16-43.el7_4.1 ELSA-2018-0406
Red Hat Enterprise Linux RHEL-6 rh-php70-phpx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-bcmathx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-clix86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-commonx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-dbax86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-dbgx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-debuginfox86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-develx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-embeddedx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-enchantx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-fpmx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-gdx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-gmpx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-imapx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-intlx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-jsonx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-ldapx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-mbstringx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-mysqlndx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-odbcx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-opcachex86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-pdox86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-pgsqlx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-processx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-pspellx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-recodex86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-snmpx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-soapx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-tidyx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-xmlx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-xmlrpcx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-6 rh-php70-php-zipx86_64 Advisory build 7.0.27-1.el6 RHSA-2018:1296
Red Hat Enterprise Linux RHEL-7 phpaarch64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 phpppc64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 phpppc64le Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 phps390x Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 phpsrc Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 phpx86_64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-bcmathaarch64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-bcmathppc64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-bcmathppc64le Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-bcmaths390x Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-bcmathx86_64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-cliaarch64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-clippc64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-clippc64le Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-clis390x Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-clix86_64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-commonaarch64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-commonppc64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-commonppc64le Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-commons390x Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-commonx86_64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-dbaaarch64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-dbappc64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-dbappc64le Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-dbas390x Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-dbax86_64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-debuginfoaarch64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-debuginfoppc64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-debuginfoppc64le Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-debuginfos390x Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-debuginfox86_64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-develaarch64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-develppc64 Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-develppc64le Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406
Red Hat Enterprise Linux RHEL-7 php-devels390x Advisory build 5.4.16-43.el7_4.1 RHSA-2018:0406

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

The GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.31 and 7.x before 7.1.7, does not zero colorMap arrays before use. A specially crafted GIF image could use the uninitialized tables to read ~700 bytes from the top of the stack, potentially disclosing sensitive information.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

27

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

10

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
c31f1701e94e073ef1fd78edf872293ed4790e067d8e34945a96e0eac52aa88d
Ingested
23 Sep 2026, 07:42:57 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected