NULL pointer dereference in Libgd
CVE-2018-14553
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).
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.034, 89.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libgd — versions 2.1.0
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Debian Linux — versions 8.0
- Fedoraproject Fedora — versions 32
- openSUSE Leap — versions 15.1
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi (Permissions Required, Issue Tracking)
- github.com/libgd/libgd/pull/580 (Third Party Advisory)
- github.com/libgd/libgd/commit/a93eac0e843148dc2d631c3ba80af17e9c8c860f (Patch, Third Party Advisory)
- [debian-lts-announce] 20200218 [SECURITY] [DLA 2106-1] libgd2 security update (mailing-list, Mailing List, Third Party Advisory)
- openSUSE-SU-2020:0332 (vendor-advisory, Third Party Advisory)
- FEDORA-2020-e795f92d79 (vendor-advisory)
- USN-4316-2 (vendor-advisory, Third Party Advisory)
- USN-4316-1 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20240406 [SECURITY] [DLA 3781-1] libgd2 security update (mailing-list)