Cloudanix VulnDB

CVE-2024-28562

Medium · 6.8

CVSS

6.8

EPSS

0.5%

Published

Mar 20, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A problem in software that handles certain image files could let someone already on the computer run their own programs without permission.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Low
Impact
Full Compromise
Component
Library
Class
Buffer Overflow
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Buffer overflow in FreeImage 3.19.0's Imf_2_2::copyIntoFrameBuffer() component when parsing EXR image files, enabling local arbitrary code execution.

Why it matters to the business

Systems using the vulnerable library on AlmaLinux 8 allow local attackers to run unauthorized code, risking data tampering or system compromise; low exploit likelihood reduces immediate operational urgency despite the 2024 disclosure.

How an attack unfolds

An attacker with local access supplies a malicious EXR image that triggers the overflow during processing by the affected component in smartmontools or dependent software, leading to code execution in the context of the calling process.

How to fix it

Upgrade smartmontools on AlmaLinux 8 to version 1:7.1-1.el8 or later to resolve the underlying FreeImage dependency issue.

How to confirm the fix worked

Confirm the installed package version meets or exceeds 1:7.1-1.el8 and test that EXR image processing no longer triggers crashes or unexpected behavior with known trigger files.

Typical attack path

  1. Obtain local access to a system running the vulnerable package
  2. Craft or obtain a malicious EXR image file exploiting the buffer overflow in copyIntoFrameBuffer()
  3. Cause the target application to read the malformed image
  4. Achieve arbitrary code execution via the overflow

How to detect it

Review local process execution logs and application error logs for unexpected crashes or code paths during EXR file handling; no widespread exploitation artifacts are known given the low EPSS and lack of KEV listing.

What your security team should do

  • Apply the fixed package version immediately on all AlmaLinux 8 systems
  • Scan for any remaining instances of the vulnerable FreeImage library
  • Limit local user access to image-processing workflows where feasible
  • Monitor EPSS and exploit maturity indicators for any future increase in risk

The record

Buffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to execute arbitrary code via the Imf_2_2::copyIntoFrameBuffer() component when reading images in EXR 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