Cloudanix VulnDB

CVE-2024-25447

High · 8.8

CVSS

8.8

EPSS

0.7%

Published

Feb 9, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A problem in common image-handling software lets attackers take over computers by sending specially made pictures.

Exploit Available
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

  1. Create a specially crafted image file designed to overflow the heap buffer in imlib_load_image_with_error_return
  2. Deliver the image to a vulnerable system via network, file share, or application input
  3. Trigger image parsing through user interaction or automated processing in an affected application
  4. 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