# CVE-2021-40265

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 1.18.0 (CNA); fix release not confirmed
- Status: published
- Published: 2023-08-22 · Modified: 2024-10-03
- Aliases: UBUNTU-CVE-2021-40265, DEBIAN-CVE-2021-40265
- Record: https://cvemate.com/vulnerability/CVE-2021-40265 · JSON: https://cvemate.com/vulnerability/CVE-2021-40265/json

## Description

```text
A heap overflow bug exists FreeImage before 1.18.0 via ofLoad function in PluginJPEG.cpp.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.887%, percentile 60.537%, 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/337/>
- <https://ubuntu.com/security/CVE-2021-40265>
- <https://www.cve.org/CVERecord?id=CVE-2021-40265>
- <https://security-tracker.debian.org/tracker/CVE-2021-40265>

---

Data as of 2026-12-05T13:32:04.240Z. 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
