CVE-2017-7890

UnknownEPSS 3.42%

Last modified

CVE-2017-7890 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 3.42% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
3.42%

87.4th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PhpPhp<= 5.6.30
PhpPhp7.0.0
PhpPhp7.0.1
PhpPhp7.0.2
PhpPhp7.0.3
PhpPhp7.0.4
PhpPhp7.0.5
PhpPhp7.0.6
PhpPhp7.0.7
PhpPhp7.0.8
PhpPhp7.0.9
PhpPhp7.0.10
PhpPhp7.0.11
PhpPhp7.0.12
PhpPhp7.0.13
PhpPhp7.0.14
PhpPhp7.0.15
PhpPhp7.0.16
PhpPhp7.0.17
PhpPhp7.0.18
PhpPhp7.0.19
PhpPhp7.0.20
PhpPhp7.1.0
PhpPhp7.1.1
PhpPhp7.1.2
PhpPhp7.1.3
PhpPhp7.1.4
PhpPhp7.1.5
PhpPhp7.1.6

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.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 severe is CVE-2017-7890?
Severity scoring for CVE-2017-7890 is pending analysis. The EPSS model estimates a 3.42% probability of exploitation in the next 30 days.
How do I fix CVE-2017-7890?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2017-7890?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST