PT-2021-8088 · Unknown+5 · Gd Graphics Library+5

Meweez

·

Published

2021-09-05

·

Updated

2025-12-16

·

CVE-2021-40812

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions The GD Graphics Library (aka LibGD) versions 2.3.2 and earlier
Description The issue is related to an out-of-bounds read in the GD Graphics Library due to the lack of certain return value checks for gdGetBuf and gdPutBuf. This can potentially allow a remote attacker to cause a denial of service.
Recommendations For versions 2.3.2 and earlier, consider applying patches or updates that include proper return value checks for gdGetBuf and gdPutBuf to prevent out-of-bounds reads. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-6433
BDU:2024-06956
CVE-2021-40812
DLA-3781-1
DLA-4411-1
MGASA-2021-0449
OESA-2021-1353
OPENSUSE-SU-2021:3236-1
OPENSUSE-SU-2021_3236-1
SUSE-SU-2021:3214-1
SUSE-SU-2021:3236-1
SUSE-SU-2021_3214-1
SUSE-SU-2021_3236-1
USN-7112-1

Affected Products

Astra Linux
Debian
Gd Graphics Library
Linuxmint
Suse
Ubuntu