Out-of-bounds Read in Libgd
CVE-2021-40812
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.017, 77.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, meweez/meweez). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9 (Patch, Third Party Advisory)
- github.com/libgd/libgd/issues/750 (Patch, Third Party Advisory)
- [debian-lts-announce] 20240406 [SECURITY] [DLA 3781-1] libgd2 security update (mailing-list)