CVE-2024-28570
Medium · 5.5CVSS
5.5
EPSS
0.3%
Published
Mar 20, 2024
CISA due date
—
Cloudanix analysis
A flaw in certain image-handling software lets someone already on the computer crash the program by feeding it a specially made photo file.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Medium
What it actually does
Buffer overflow in the processMakerNote() function during JPEG image parsing leads to denial of service.
Why it matters to the business
Local users can crash affected image-processing applications, disrupting availability of dependent services on AlmaLinux systems without widespread ransomware or remote exploitation risk.
How an attack unfolds
An attacker with local access supplies a crafted JPEG image to any application using the vulnerable FreeImage library; the malformed maker note triggers the overflow inside processMakerNote() and terminates the process.
How to fix it
Upgrade pmix and pmix-devel packages on AlmaLinux 8 to version 2.2.4rc1-1.el8 or later; rebuild or redeploy any software statically linked against the vulnerable FreeImage 3.19.0 release.
How to confirm the fix worked
Verify installed package versions match or exceed 2.2.4rc1-1.el8; test image ingestion with known-good and known-malformed JPEG samples to confirm the process no longer crashes.
Typical attack path
- Obtain local access or ability to supply image files to a process using FreeImage
- Prepare a JPEG containing a malformed EXIF maker note designed to overflow the buffer
- Cause the target application to call processMakerNote() while reading the image
- Trigger the overflow resulting in denial of service
How to detect it
Review application crash logs and core dumps for references to processMakerNote or FreeImage when JPEG files are processed; correlate with file-access timestamps of suspicious images.
What your security team should do
- Apply the AlmaLinux package updates immediately on all systems running the affected pmix packages
- Scan source and binary dependencies for any other copies of FreeImage 3.19.0
- Restrict local user ability to supply untrusted images to high-value processes 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 processMakerNote() function when reading images in JPEG 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