Vulnerability · Published Sep 8, 2021 · Assigned by mitre

CVE-2021-40812

Medium 6.5

In plain English

A medium-severity out-of-bounds read in the libgd2 package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)1.7%top 23.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libgd22.3.3-1DEBIAN-CVE-2021-40812
Debian:13libgd22.3.3-1DEBIAN-CVE-2021-40812
Debian:14libgd22.3.3-1DEBIAN-CVE-2021-40812
Ubuntu:22.04:LTSlibgd22.3.0-2ubuntu2.3USN-7112-1
Ubuntu:22.04:LTSlibgd22.3.0-2ubuntu2.3UBUNTU-CVE-2021-40812

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References