CVE-2017-7890
libgd2 - security update
6.5
MEDIUM
CVSS 3.1
EPSS 30.2%
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.
How to fix CVE-2017-7890
To remediate CVE-2017-7890, upgrade the affected package to a fixed version below.
- —upgrade to 2.2.5-r0 or later
- —upgrade to 2.2.5-1 or later
- —upgrade to 2.0.36~rc1~dfsg-6.1+deb7u9 or later
- —upgrade to 2.1.0-5+deb8u10 or later
Is CVE-2017-7890 being exploited?
Moderate — EPSS is 30.2%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (4)
- from 0, < 2.2.5-r0
- from 0, < 2.2.5-1
- from 0, < 2.0.36~rc1~dfsg-6.1+deb7u9
- from 0, < 2.1.0-5+deb8u10
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |