NULL Pointer Dereference Affecting gd package, versions <2.3.0-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
3.44% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE323-GD-14177320
  • published4 Dec 2025
  • disclosed11 Feb 2020

Introduced: 11 Feb 2020

CVE-2018-14553  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Alpine:3.23 gd to version 2.3.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gd package and not the gd package as distributed by Alpine. See How to fix? for Alpine:3.23 relevant fixed versions and status.

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).

CVSS Base Scores

version 3.1