CVE-2018-5711

UnknownEPSS 13.45%

Last modified

CVE-2018-5711 is a vulnerability of currently unknown severity. gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1, has an integer signedness error that leads to an infinite loop via a crafted GIF file, as demonstrated by a call to the imagecreatefromgif or imagecreatefromstring PHP function. This is related to GetCode_ and gdImageCreateFromGifCtx.. EPSS estimates a 13.45% chance of exploitation in the next 30 days.

Description

gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1, has an integer signedness error that leads to an infinite loop via a crafted GIF file, as demonstrated by a call to the imagecreatefromgif or imagecreatefromstring PHP function. This is related to GetCode_ and gdImageCreateFromGifCtx.

Metrics

EPSS Probability
13.45%

95.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PhpPhp<= 5.6.32
PhpPhp>= 7.0.0, <= 7.0.26
PhpPhp> 7.1.0, <= 7.1.12
PhpPhp7.2.0
DebianDebian Linux7.0
DebianDebian Linux8.0
CanonicalUbuntu Linux14.04
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux18.04

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2018-5711?
gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1, has an integer signedness error that leads to an infinite loop via a crafted GIF file, as demonstrated by a call to the imagecreatefromgif or imagecreatefromstring PHP function. This is related to GetCode_ and gdImageCreateFromGifCtx.
How severe is CVE-2018-5711?
Severity scoring for CVE-2018-5711 is pending analysis. The EPSS model estimates a 13.45% probability of exploitation in the next 30 days.
How do I fix CVE-2018-5711?
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-2018-5711?

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

Scan your code now

Source: NVD / NIST