CVE-2024-28563
Medium · 5.9CVSS
5.9
EPSS
0.5%
Published
Mar 20, 2024
CISA due date
—
Cloudanix analysis
A flaw in an image library can let someone crash programs that open certain picture files, causing temporary outages until the software is updated.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Buffer overflow in FreeImage 3.19.0 triggered inside Imf_2_2::DwaCompressor::Classifier::Classifier() when parsing EXR image data, resulting in local denial of service.
Why it matters to the business
Applications that process user-supplied or untrusted EXR images can be forced offline, interrupting image-handling workflows and requiring restarts or manual intervention.
How an attack unfolds
An attacker supplies a crafted EXR file to any local process that links FreeImage; the malformed data reaches the Classifier constructor, overflows an internal buffer, and crashes the process.
How to fix it
Upgrade python3-configshell on AlmaLinux 8 to version 1:1.1.28-1.el8 or later; rebuild any dependent packages that statically link FreeImage 3.19.0; replace or remove affected FreeImage binaries until patched versions are available.
How to confirm the fix worked
Confirm the installed FreeImage library version is newer than 3.19.0-r1909; test EXR loading with both benign and malformed samples to verify the crash no longer occurs.
Typical attack path
- Place malicious EXR file on the local filesystem
- Invoke an application or library call that opens the file with FreeImage
- Trigger Imf_2_2::DwaCompressor::Classifier::Classifier() during decompression
- Buffer overflow occurs and the process terminates
How to detect it
Review application and system logs for sudden crashes or segmentation faults that occur while processing .exr files; correlate with file-creation events in directories used by image-processing services.
What your security team should do
- Apply the AlmaLinux update for python3-configshell immediately
- Inventory all software that statically or dynamically links FreeImage
- Disable EXR support in image-processing pipelines until patches are deployed
- Add EXR files to file-type monitoring rules for high-risk directories
The record
Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to cause a denial of service (DoS) via the Imf_2_2::DwaCompressor::Classifier::Classifier() 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