Skip to main content
CVE-2024-28581VulnerabilityPublished Updated

CVE-2024-28581: freeimage · n/a

Affects freeimageSource CVE Database V5

0

Not known to be exploited · CVSS 8.4 High.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
8.4High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Mar 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
GitHubruanxingzhi/freeimagepkg:github/ruanxingzhi/freeimageOther threatsAffected
  • =3.19.0
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.

References

Community reviews

Loading reviews…