CVE-2024-28583: Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to execute arb
CVE-2024-28583 is a high-severity flaw (CVSS 7.8) affecting freeimage. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to execute arbitrary code via the readLine() function when reading images in XPM format.
Why this priority
- High severity
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 69%) |
| CISA exploited list | No |
| Weakness | CWE-120 |
| Published | 2024-03-20 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-28583?
freeimage: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-28583 being exploited?
CVE-2024-28583 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-28583 affect?
CVE-2024-28583 affects freeimage. Severity is high (CVSS 7.8). Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to execute arbitrary code via the readLine() function when reading images in XPM format.
How urgent is CVE-2024-28583?
Priority 40/100. High severity; Public exploit reference
Related CVEs
- CVE-2025-70968 CRITICAL 9.8 DOWNGRADE FreeImage 3.18.0 contains a Use After Free in PluginTARGA.cpp;loadRLE().
- CVE-2025-65803 MEDIUM 6.5 UPGRADE An integer overflow in the psdParser::ReadImageData function of FreeImage v3.18.0 and before allows attackers
- CVE-2024-9029 HIGH 7.5 MITIGATE A flaw was found in the freeimage library
- CVE-2024-31570 CRITICAL 9.8 UPGRADE libfreeimage in FreeImage 3.4.0 through 3.18.0 has a stack-based buffer overflow in the PluginXPM.cpp Load fun
- CVE-2024-28584 LOW 3.3 DOWNGRADE Null Pointer Dereference vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to ca