# CVE-2021-40262

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-08-22 · Modified: 2024-10-03
- Aliases: UBUNTU-CVE-2021-40262, DEBIAN-CVE-2021-40262
- Record: https://cvemate.com/vulnerability/CVE-2021-40262 · JSON: https://cvemate.com/vulnerability/CVE-2021-40262/json

## Description

```text
A stack exhaustion issue was discovered in FreeImage before 1.18.0 via the Validate function in PluginRAW.cpp.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.731%, percentile 55.675%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian freeimage (Debian): All versions (No fix recorded)
- ubuntu freeimage (Ubuntu): All versions (No fix recorded)
- freeimage\_project freeimage: \< 1.18.0

## References

- <https://sourceforge.net/p/freeimage/bugs/338/>
- <https://ubuntu.com/security/CVE-2021-40262>
- <https://www.cve.org/CVERecord?id=CVE-2021-40262>
- <https://security-tracker.debian.org/tracker/CVE-2021-40262>

---

Data as of 2026-12-05T13:27:20.962Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
