CVE-2024-28569
High · 7.8CVSS
7.8
EPSS
0.3%
Published
Mar 20, 2024
CISA due date
—
Cloudanix analysis
A flaw in image handling software allows someone with access to your computer to run their own programs by using a bad picture file.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Buffer overflow in the Imf_2_2::Xdr::read() function of FreeImage when parsing EXR image files, enabling local arbitrary code execution.
Why it matters to the business
Attackers with local access can run malicious code on affected systems by supplying specially crafted EXR images, leading to potential system compromise and data theft.
How an attack unfolds
An attacker crafts a malicious EXR image file and supplies it to an application using the vulnerable FreeImage library, triggering the buffer overflow in Xdr::read() to execute arbitrary code.
How to fix it
Update affected packages to the fixed versions listed: libusbx (AlmaLinux:8) to 1.0.23-4.el8, libusbx-devel (AlmaLinux:8) to 1.0.23-4.el8, and libusbx-devel-doc (AlmaLinux:8) to 1.0.23-4.el8.
How to confirm the fix worked
Verify package versions match or exceed the fixed releases and test image processing workflows with sample EXR files for stability.
Typical attack path
- Identify application using FreeImage for image processing
- Craft malicious EXR file exploiting the buffer overflow
- Deliver the file to the target system locally
- Trigger processing of the image to execute payload
How to detect it
Review system and application logs for crashes or anomalous process spawns immediately after EXR image processing attempts.
What your security team should do
- Apply the listed package updates immediately on all affected systems
- Limit local user access to image-processing applications
- Audit logs for crashes or unexpected executions during EXR handling
The record
Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to execute arbitrary code via the Imf_2_2::Xdr::read() function when reading images in EXR format.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | freeimage | 0 | No fix |
| Debian:12 | freeimage | 0 | No fix |
| Debian:13 | freeimage | 0 | No fix |
| Ubuntu:20.04:LTS | freeimage | 0 | No fix |
| Ubuntu:22.04:LTS | freeimage | 0 | No fix |
| Ubuntu:24.04:LTS | freeimage | 0 | No fix |
| Ubuntu:24.10 | freeimage | 0 | No fix |
| Ubuntu:25.04 | freeimage | 0 | No fix |
| Ubuntu:25.10 | freeimage | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | freeimage | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | freeimage | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | freeimage | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | freeimage | 0 | No fix |
Related vulnerabilities
- CVE-2024-9029 A flaw was found in the freeimage library. Also affects freeimage
- CVE-2024-31570 In FreeImage library version 3.19.0 [r1909], when reading images in XPM format, the… Also affects freeimage
- CVE-2024-28583 Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local… Also affects freeimage
- CVE-2024-28584 Null Pointer Dereference vulnerability in open source FreeImage v.3.19.0 [r1909] allows a… Also affects freeimage
- CVE-2024-28578 Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local… Also affects freeimage
- CVE-2024-28579 Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local… Also affects freeimage
- CVE-2024-28580 Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local… Also affects freeimage
- CVE-2024-28582 Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local… Also affects freeimage