First published: Wed Sep 08 2021(Updated: )
Last updated 15 November 2024
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Libgd Libgd | <=2.3.2 | |
debian/libgd2 | <=2.3.0-2 | 2.3.3-9 2.3.3-12 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-40812 is a vulnerability in the GD Graphics Library (LibGD) that allows for an out-of-bounds read due to the lack of certain return value checks in gdGetBuf and gdPutBuf.
CVE-2021-40812 has a severity rating of 6.5, making it a medium severity vulnerability.
The LibGD library version up to and including 2.3.2 is affected by CVE-2021-40812.
The CWE ID for CVE-2021-40812 is CWE-125, which corresponds to Out-of-bounds Read.
To mitigate CVE-2021-40812, it is recommended to update LibGD to a version that includes the fix, such as version 2.3.3 or later.