Out-of-bounds Read The advisory has been revoked - it doesn't affect any version of package libgd2  (opens in a new tab)


Threat Intelligence

EPSS
1.39% (73rd 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-UBUNTU2404-LIBGD2-6707533
  • published29 Apr 2024
  • disclosed8 Sept 2021

Introduced: 8 Sep 2021

CVE-2021-40812  (opens in a new tab)
CWE-125  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:24.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libgd2 package and not the libgd2 package as distributed by Ubuntu.

The GD Graphics Library (aka LibGD) through 2.3.2 has an out-of-bounds read because of the lack of certain gdGetBuf and gdPutBuf return value checks.