CVE-2024-28581: freeimage · Buffer Overflow
Affects freeimageSource CVE Database V5
Not known to be exploited · CVSS 8.4 High.
Data as of 26 Oct 2026, 12:54 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 28% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 Mar 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubruanxingzhi/freeimagepkg:github/ruanxingzhi/freeimageOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Since no official patches are currently available, organizations should implement immediate mitigations such as restricting local access to systems running FreeImage, especially limiting untrusted users from processing TARGA images. Employ strict input validation and sanitization for image files before processing to detect malformed or suspicious TARGA files. Use application whitelisting and behavior monitoring to detect anomalous execution patterns indicative of exploitation attempts. Consider isolating image processing tasks in sandboxed or containerized environments to limit potential damage from exploitation. Monitor system logs and security alerts for unusual activity related to FreeImage or image processing components. Stay updated with FreeImage project communications for forthcoming patches and apply them promptly once released. For developers, review and harden the image parsing code, potentially replacing or updating FreeImage with safer alternatives if feasible. Conduct regular security assessments and penetration testing focusing on local privilege escalation and code execution vectors involving image processing libraries.
Description
Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to execute arbitrary code via the _assignPixel<>() function when reading images in TARGA format.