CVE-2021-40265: freeimage_project freeimage Out-of-bounds Write
Vulnerability summary
CVE-2021-40265 is a high (CVSS 8.8) Out-of-bounds Write vulnerability in freeimage_project freeimage. EPSS estimates a 0.89% chance of exploitation in the next 30 days, higher than 60.5% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 22-08-2023PublishedVulnerability first disclosed.
- 03-10-2024Last modifiedVulnerability information updated.
Description
A heap overflow bug exists FreeImage before 1.18.0 via ofLoad function in PluginJPEG.cpp.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.89%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.89% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (sourceforge.net)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- freeimageAll versions (No fix recorded)
Freeimage_project1 product
- freeimage< 1.18.0
Ubuntu1 product
- freeimageAll versions (No fix recorded)
3 vendors · 3 products