CVE-2018-5711: canonical ubuntu_linux
Vulnerability summary
CVE-2018-5711 is a medium (CVSS 5.5) vulnerability in canonical ubuntu_linux. EPSS estimates a 13.20% chance of exploitation in the next 30 days, higher than 96.3% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 5Timeline
- 16-01-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated5.5MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
13.20%
Chance of exploitation in the next 30 days
Percentile
96%
Versus all other CVEs
30-day change
No change 0.00 pp
From 13.20% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-681Incorrect Conversion between Numeric TypesWhen converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.
- CWE-835Loop with Unreachable Exit ConditionThe product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
Affected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Suse14 products
- gd&distro=SUSE Linux Enterprise Desktop 12 SP2< 2.1.0-24.6.1
- gd&distro=SUSE Linux Enterprise Desktop 12 SP3< 2.1.0-24.6.1
- gd&distro=SUSE Linux Enterprise Server 11 SP4< 2.0.36.RC1-52.33.5.1
- gd&distro=SUSE Linux Enterprise Server 12 SP2< 2.1.0-24.6.1
- gd&distro=SUSE Linux Enterprise Server 12 SP3< 2.1.0-24.6.1
Alpine3 products
- gd< 2.2.5-r2
- php5< 5.6.33-r0
- php7< 7.0.27-r0 | < 7.1.13-r0
Debian2 products
- libgd2< 2.0.36~rc1~dfsg-6.1+deb7u11 | < 2.2.5-4.1
- debian_linuxEOL7.0 | 8.0
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 18.04
Php1 product
- phpEOL≤ 5.6.32 | ≥ 7.0.0, ≤ 7.0.26 | > 7.1.0, ≤ 7.1.12 | 7.2.0
Ubuntu1 product
- libgd2< 2.1.0-3ubuntu0.10 | < 2.1.1-4ubuntu0.16.04.10 | < 2.2.5-4ubuntu0.2
6 vendors · 22 products
References
21 links- lists.debian.org/debian-lts-announce/2019/01/msg00028.htmlMailing ListX Refsource MLISTThird Party Advisory
- lists.debian.org/debian-lts-announce/2018/01/msg00022.htmlMailing ListX Refsource MLISTThird Party Advisory
Show all 21 references
- www.oracle.com/security-alerts/cpuapr2020.htmlX Refsource MISC