CVE-2018-14553 json
gdImageClone in gd.c in libgd 2.1.0-rc2 through 2.2.5 has a NULL pointer dereference allowing attackers to crash an application via a speci…
published 2020-02-11 6 y ago modified 2026-06-17 4 mo ago also EUVD-2018-6462
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.4%
- EPSS 3.4% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
gdImageClone in gd.c in libgd 2.1.0-rc2 through 2.2.5 has a NULL pointer dereference allowing attackers to crash an application via a specific function call sequence. Only affects PHP when linked with an external libgd (not bundled).
Patch / fix
- libgd2 Debian 14, Debian 13, Debian 12 2.3.0-1
debian advisories DEBIAN-CVE-2018-14553
- libgd2 Ubuntu 16.04 LTS 2.1.1-4ubuntu0.16.04.12
- libgd2 Ubuntu 18.04 LTS 2.2.5-4ubuntu0.4
- libgd2 Ubuntu Pro 14.04 LTS 2.1.0-3ubuntu0.11+esm1
ubuntu advisories UBUNTU-CVE-2018-14553
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- gd RHEL 8 2.2.5-7.el8
red hat advisories RHSA-2020:4659
- gd SLE Module for Package Hub 15 SP1, SLE Module for Desktop Applications 15 SP1, SLE Module for Basesystem 15 SP1 2.2.5-4.14.1
- gd SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +6 more 2.1.0-24.17.1
suse advisories SUSE-SU-2020:0594-2SUSE-SU-2020:0623-1SUSE-SU-2020:0594-1
- gd openSUSE Tumbleweed 2.3.3-1.1
- gd openSUSE Leap 15.1 2.2.5-lp151.6.6.1
opensuse advisories openSUSE-SU-2024:10777-1openSUSE-SU-2020:0332-1
- gd AlmaLinux 8 2.2.5-7.el8
almalinux advisories ALSA-2020:4659
- gd Rocky Linux 8 2.2.5-7.el8
rocky linux advisories RLSA-2020:4659
- gd Alpine 3.11, Alpine 3.10, Alpine 3.9 +1 more 2.2.5-r3
- gd Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 2.3.0-r0
alpine advisories ALPINE-CVE-2018-14553
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/libgd/libgd@a93eac0 commit
- github.com/libgd/libgd#580 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-14553 updated cvss 7.4
gd: NULL pointer dereference in gdImageClone
-
Red Hat Enterprise Linux AppStream (v. 8) gd 2.2.5-7.el8fixed: vendor fix RHSA-2020:4659
-
Red Hat Enterprise Linux 5 gd Red Hat Enterprise Linux 6 gd, gd-progs Red Hat Enterprise Linux 7 gd, gd-progs Red Hat Software Collections rh-php70-php, rh-php71-php, rh-php70-php-gd, rh-php71-php-gd, rh-php70-php-cli, rh-php70-php-dba, +52 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.44% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
github.com
/libgd/libgd/pull/580
third-party-advisory
-
github.com
/libgd/libgd/commit/a93eac0e843148dc2d631c3ba80af17e9c8c860f
patch, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-03/msg00020.html
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/
vendor-advisory
-
usn.ubuntu.com
/4316-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4316-1/
vendor-advisory, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1599032
issue-tracking, permissions-required
-
lists.debian.org
/debian-lts-announce/2020/02/msg00014.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2024/04/msg00003.html
mailing-list
Sources
- CVE List CVE-2018-14553
- NVD CVE-2018-14553
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.