Out-of-bounds Read Affecting libgd2 package, versions <2.2.5-5.2+deb10u1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.14% (51st 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-DEBIAN10-LIBGD2-1583888
  • published9 Sept 2021
  • disclosed8 Sept 2021

Introduced: 8 Sep 2021

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

How to fix?

Upgrade Debian:10 libgd2 to version 2.2.5-5.2+deb10u1 or higher.

NVD Description

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

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.

CVSS Scores

version 3.1