CVE-2024-28575
Medium · 6.2CVSS
6.2
EPSS
0.3%
Published
Mar 20, 2024
CISA due date
—
Cloudanix analysis
A problem in software that handles certain image files can make programs stop working suddenly when they try to open the wrong kind of picture.
- 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 the opj_j2k_read_mct function during J2K image parsing leads to denial of service via application crash.
Why it matters to the business
Applications processing image files can experience unexpected crashes and service interruptions when handling certain inputs, increasing operational downtime.
How an attack unfolds
A local attacker crafts a malicious J2K image file and supplies it to an application using the vulnerable library, triggering the overflow in opj_j2k_read_mct to cause a crash without requiring elevated privileges.
How to fix it
Upgrade affected components to the fixed versions provided, such as python3-dasbus to 1.2-2.el8 on AlmaLinux 8, and rebuild or redeploy dependent applications.
How to confirm the fix worked
Confirm the installed library version matches or exceeds the fixed release and test image processing functionality with both valid and edge-case J2K files to ensure stability.
Typical attack path
- Locate an application that depends on the vulnerable image processing library
- Prepare a specially crafted J2K format image file
- Induce the target application to load and parse the malicious image
- Trigger the buffer overflow resulting in denial of service
How to detect it
Review application and system logs for crashes or segmentation faults occurring during J2K image processing and correlate with file access events.
What your security team should do
- Prioritize updating to the specified fixed versions across all affected systems
- Inventory applications that parse J2K images and schedule patching
- Implement input validation or sandboxing for image processing where updates are delayed
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 opj_j2k_read_mct() function when reading images in J2K 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