CVE-2024-25447
High · 8.8CVSS
8.8
EPSS
0.7%
Published
Feb 9, 2024
CISA due date
—
Cloudanix analysis
A problem in common image-handling software lets attackers take over computers by sending specially made pictures.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Full Compromise
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap buffer overflow in imlib_load_image_with_error_return during parsing of crafted images in imlib2 1.9.1, enabling memory corruption and potential arbitrary code execution.
Why it matters to the business
Applications relying on imlib2 for image handling become susceptible to remote compromise, potentially disrupting services, exposing data, or enabling further network access with urgency to address given public exploit availability.
How an attack unfolds
An attacker crafts a malicious image file that triggers the overflow in the image loading function, then delivers it to a target application using imlib2 for processing; successful exploitation corrupts heap memory to achieve code execution without authentication.
How to fix it
Upgrade imlib2 to the latest available version that resolves the parsing flaw in imlib_load_image_with_error_return; monitor upstream enlightenment repositories for patches and rebuild dependent applications after update.
How to confirm the fix worked
Confirm imlib2 version is newer than 1.9.1, attempt processing of known test images that previously triggered overflow, and review build logs or package manifests for the corrected function implementation.
Typical attack path
- Create a specially crafted image file designed to overflow the heap buffer in imlib_load_image_with_error_return
- Deliver the image to a vulnerable system via network, file share, or application input
- Trigger image parsing through user interaction or automated processing in an affected application
- Exploit the resulting memory corruption to execute arbitrary code or cause denial of service
How to detect it
Review application logs for crashes or errors during image loading in processes linked to imlib2, inspect memory dumps for heap anomalies around image parsing routines, and correlate with file access events involving untrusted images.
What your security team should do
- Immediately inventory all systems and applications using imlib2 and prioritize upgrade to patched releases
- Implement network or application-level filtering to block untrusted image formats until updates are applied
- Monitor vulnerability feeds for official fixed versions and test updates in isolated environments before deployment
The record
An issue in the imlib_load_image_with_error_return function of imlib2 v1.9.1 allows attackers to cause a heap buffer overflow via parsing a crafted image.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | imlib2 | 0 | 1.7.1-2+deb11u1 |
| Debian:12 | imlib2 | 0 | 1.10.0-2 |
| Debian:13 | imlib2 | 0 | 1.10.0-2 |
| Ubuntu:14.04:LTS | imlib2 | 0 | No fix |
| Ubuntu:16.04:LTS | imlib2 | 0 | No fix |
| Ubuntu:18.04:LTS | imlib2 | 0 | No fix |
| Ubuntu:20.04:LTS | imlib2 | 0 | No fix |
| Ubuntu:22.04:LTS | imlib2 | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | imlib2 | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | imlib2 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | imlib2 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | imlib2 | 0 | No fix |
Related vulnerabilities
- CVE-2024-25450 imlib2 v1.9.1 was discovered to mishandle memory allocation in the function… Also affects imlib2
- CVE-2024-25448 An issue in the imlib_free_image_and_decache function of imlib2 v1.9.1 allows attackers… Also affects imlib2
- CVE-2020-12761 modules/loaders/loader_ico.c in imlib2 1.6.0 has an integer overflow (with resultant… Also affects imlib2
- CVE-2011-5326 imlib2 before 1.4.9 allows remote attackers to cause a denial of service (divide-by-zero… Also affects imlib2
- CVE-2026-111497 A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli… CWE-787
- CVE-2026-112397 Pillow is a Python imaging library. CWE-787
- CVE-2026-112059 libLAS through 1.8.1 contains a heap out-of-bounds write vulnerability in the point… CWE-787
- CVE-2026-89088 A flaw was found in parted. CWE-787