CVE-2021-40812
MEDIUMCVSS 6.5/10EPSS 1.54%
Last modified
CVE-2021-40812 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 1.54% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libgd | Libgd | <= 2.3.2 |
References
- https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9Patch, Third Party Advisory
- https://github.com/libgd/libgd/issues/750#issuecomment-914872385Patch, Third Party Advisory
- https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9Patch, Third Party Advisory
- https://github.com/libgd/libgd/issues/750#issuecomment-914872385Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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.
How severe is CVE-2021-40812?
CVE-2021-40812 has a CVSS score of 6.5/10 (MEDIUM severity). The EPSS model estimates a 1.54% probability of exploitation in the next 30 days.
How do I fix CVE-2021-40812?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2021-40812?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
