CVE-2024-28564
NoneCVSS
—
EPSS
0.5%
Published
Mar 20, 2024
CISA due date
—
Cloudanix analysis
A problem in software that handles certain image files can let someone on the same computer crash programs that open those files.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Buffer overflow in FreeImage's Imf_2_2::CharPtrIO::readChars() during EXR image parsing allows a local attacker to trigger a denial of service by supplying a malformed image file.
Why it matters to the business
Local processing of untrusted EXR files can cause application or service crashes on systems using the affected image library, leading to operational disruption until the process is restarted.
How an attack unfolds
An attacker with local access crafts a malicious EXR image that triggers the overflow when the vulnerable FreeImage function attempts to read character data, resulting in a crash of any application using the library to process the file.
How to fix it
Update gegl04 and gegl04-devel packages to version 0.4.4-7.el8 or later on AlmaLinux 8 systems; replace any direct use of vulnerable FreeImage 3.19.0 with a patched build.
How to confirm the fix worked
Verify package versions match the fixed releases, test EXR image loading with both valid and malformed samples to confirm absence of crashes, and review application logs for related buffer handling errors.
Typical attack path
- Obtain local access to a system running affected software
- Create or obtain a specially crafted EXR image file
- Cause the target application or service to process the malicious EXR file using the vulnerable library
- Trigger the buffer overflow leading to denial of service
How to detect it
Review system and application logs for crashes during EXR image processing; monitor for repeated process terminations or segmentation faults when handling image files from untrusted sources.
What your security team should do
- Apply the specified package updates immediately on all AlmaLinux 8 systems using gegl04
- Scan for and replace any remaining instances of FreeImage 3.19.0 in the environment
- Restrict local user access to image processing workflows until patches are deployed
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::CharPtrIO::readChars() 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