6.5med
CVE-2017-7890
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…
Published 9 y ago · modified 4 mo ago · JSON
CVSS
6.5
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
3.4%
percentile 89%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
3.42% probability of exploitation in the next 30 days, higher than 89% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Classification
- Weakness
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- Technology feeds
- PHP (RSS, critical only)
References
- bugs.php.net /patch-display.php?bug=74435&patch=fix-74435-php-7.0&revision=1497970038 · x_refsource_CONFIRM, x_transferred
- tenable.com /security/tns-2017-12 · x_refsource_CONFIRM, x_transferred
- debian.org /security/2017/dsa-3938 · vendor-advisory, x_refsource_DEBIAN, x_transferred
- access.redhat.com /errata/RHSA-2018:1296 · vendor-advisory, x_refsource_REDHAT, x_transferred
- php.net /ChangeLog-5.php · x_refsource_CONFIRM, x_transferred
- security.netapp.com /advisory/ntap-20180112-0001/ · x_refsource_CONFIRM, x_transferred
- securityfocus.com /bid/99492 · vdb-entry, x_refsource_BID, x_transferred
- php.net /ChangeLog-7.php · x_refsource_CONFIRM, x_transferred
- access.redhat.com /errata/RHSA-2018:0406 · vendor-advisory, x_refsource_REDHAT, x_transferred
- bugs.php.net /bug.php?id=74435 · x_refsource_CONFIRM, x_transferred
Sources
- CVE List: CVE-2017-7890
- NVD: CVE-2017-7890
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.