CVE-2024-28584
Low · 3.3CVSS
3.3
EPSS
0.4%
Published
Mar 20, 2024
CISA due date
—
Cloudanix analysis
A bug in an image processing library can make programs crash when they try to open certain picture files, and the fix is to install the latest software update.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Null pointer dereference in the J2KImageToFIBITMAP function causes an application crash when parsing specially crafted J2K image data.
Why it matters to the business
Local users or automated processes that handle J2K images can trigger application crashes, leading to service interruptions on systems using the vulnerable library; the issue has been public for over two years with negligible observed exploitation.
How an attack unfolds
An attacker with local access supplies a malformed J2K image file to any application linked against the vulnerable FreeImage library; the J2KImageToFIBITMAP function dereferences a null pointer during image conversion and terminates the process.
How to fix it
Upgrade libudisks2-devel on AlmaLinux 8 to version 2.9.0-3.el8 or later; rebuild any dependent applications against the patched library and restart affected services.
How to confirm the fix worked
Confirm the installed package version is at least 2.9.0-3.el8, then attempt to process a known-good J2K image with the updated library to verify continued functionality without crashes on valid input.
Typical attack path
- Obtain or craft a J2K image file that triggers the null pointer path
- Invoke an application that uses FreeImage to open or convert the file
- Trigger the crash via J2KImageToFIBITMAP to achieve local denial of service
How to detect it
Review application and system logs for unexpected process terminations or segmentation faults occurring during image processing routines; no widespread threat actor activity or ransomware campaigns have been associated with this issue.
What your security team should do
- Apply the AlmaLinux package update immediately on all systems running libudisks2-devel
- Scan for any custom builds or statically linked copies of FreeImage 3.19.0 and replace them
- Add J2K image handling to application hardening and fuzzing test suites
The record
Null Pointer Dereference vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to cause a denial of service (DoS) via the J2KImageToFIBITMAP() 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-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
- CVE-2024-28577 Null Pointer Dereference vulnerability in open source FreeImage v.3.19.0 [r1909] allows a… Also affects freeimage