NULL Pointer Dereference Affecting libgd/libgd package, versions [2.1.1,2.3.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.02% (84th 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 Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-LIBGDLIBGD-2365298
  • published26 Jan 2022
  • disclosed11 Feb 2020
  • creditUnknown

Introduced: 11 Feb 2020

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

How to fix?

Upgrade libgd/libgd to version 2.3.0 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference 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 Scores

version 3.1