Cloudanix VulnDB

CVE-2024-56826

Medium · 5.6

CVSS

5.6

EPSS

0.3%

Published

Jan 9, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A local tool used for handling image files can crash or behave unexpectedly when given certain options, which may interrupt image-related work on affected computers.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Buffer Overflow
Remediation
Patch
Effort
Medium
Patch risk
Low

What it actually does

Heap buffer overflow in opj_decompress triggered by specific command-line options, resulting in memory corruption that can cause application crash or undefined behavior.

Why it matters to the business

Local users or automated image-processing workflows may experience crashes or unexpected behavior when handling certain inputs, potentially disrupting operations that rely on OpenJPEG for decompression.

How an attack unfolds

An attacker with local access supplies crafted options to the opj_decompress utility, causing a heap buffer overflow that leads to a crash or undefined behavior; no remote or unauthenticated exploitation is indicated.

How to fix it

Upgrade uclouvain/openjpeg to commit e492644fbded4c820ca55b5e50e598d346e850e8 or later; for affected Ubuntu 14.04 systems update chromium-browser to version 58.0.3029.81-0ubuntu0.14.04.1172 or newer packages that incorporate the fix.

How to confirm the fix worked

Confirm the installed OpenJPEG version or commit hash is at or beyond the listed fixed commit; test opj_decompress with known triggering options to verify absence of crash or corruption.

Typical attack path

  1. Obtain local access to a system with the vulnerable opj_decompress binary
  2. Identify or craft input options that trigger the buffer overflow condition
  3. Execute opj_decompress with the malicious options against a target file
  4. Observe crash or attempt to leverage resulting undefined behavior

How to detect it

Review system logs and application crash reports for opj_decompress segmentation faults or heap-related errors when the utility is invoked; correlate with command-line history containing decompression operations.

What your security team should do

  • Apply the listed fixed versions immediately on all systems using OpenJPEG or dependent packages such as chromium-browser
  • Audit local scripts and workflows that invoke opj_decompress to ensure they do not pass untrusted options
  • Monitor for application crashes in image-processing pipelines that may indicate attempted exploitation

The record

A flaw was found in the OpenJPEG project. A heap buffer overflow condition may be triggered when certain options are specified while using the opj_decompress utility. This can lead to an application crash or other undefined behavior.

Affected packages

Ecosystem Package Introduced Fixed
AlmaLinux:9 openjpeg2 0 2.4.0-8.el9
AlmaLinux:9 openjpeg2-devel 0 2.4.0-8.el9
AlmaLinux:9 openjpeg2-tools 0 2.4.0-8.el9
Debian:11 openjpeg2 0 No fix
Debian:11 openjpeg2 0 2.4.0-3+deb11u1
Debian:12 openjpeg2 0 No fix
Debian:12 openjpeg2 0 2.5.0-2+deb12u1
Debian:13 openjpeg2 0 No fix
Debian:13 openjpeg2 0 2.5.3-1
Mageia:9 openjpeg2 0 2.5.0-1.2.mga9
SUSE:Linux Enterprise Module for Basesystem 15 SP6 openjpeg2 0 2.3.0-150000.3.18.1
SUSE:Linux Enterprise Module for Package Hub 15 SP6 openjpeg2 0 2.3.0-150000.3.18.1
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 openjpeg2 0 2.1.0-4.21.1
Ubuntu:16.04:LTS blender 0 No fix
Ubuntu:16.04:LTS insighttoolkit4 0 No fix
Ubuntu:16.04:LTS texmaker 0 No fix
Ubuntu:18.04:LTS blender 0 No fix
Ubuntu:18.04:LTS insighttoolkit4 0 No fix
Ubuntu:18.04:LTS qtwebengine-opensource-src 0 No fix
Ubuntu:18.04:LTS texmaker 0 No fix
Ubuntu:20.04:LTS blender 0 No fix
Ubuntu:20.04:LTS insighttoolkit4 0 No fix
Ubuntu:20.04:LTS openjpeg2 0 No fix
Ubuntu:20.04:LTS openjpeg2 0 2.3.1-1ubuntu4.20.04.4
Ubuntu:20.04:LTS qtwebengine-opensource-src 0 No fix
Ubuntu:20.04:LTS texmaker 0 No fix
Ubuntu:22.04:LTS blender 0 No fix
Ubuntu:22.04:LTS insighttoolkit4 0 No fix
Ubuntu:22.04:LTS openjpeg2 0 No fix
Ubuntu:22.04:LTS openjpeg2 0 2.4.0-6ubuntu0.3
Ubuntu:22.04:LTS qtwebengine-opensource-src 0 No fix
Ubuntu:22.04:LTS texmaker 0 No fix
Ubuntu:24.04:LTS blender 0 No fix
Ubuntu:24.04:LTS openjpeg2 0 No fix
Ubuntu:24.04:LTS openjpeg2 0 2.5.0-2ubuntu0.3
Ubuntu:24.04:LTS qtwebengine-opensource-src 0 No fix
Ubuntu:24.04:LTS texmaker 0 No fix
Ubuntu:24.10 blender 0 No fix
Ubuntu:24.10 openjpeg2 0 No fix
Ubuntu:24.10 openjpeg2 0 2.5.0-2ubuntu1.2
Ubuntu:24.10 qtwebengine-opensource-src 0 No fix
Ubuntu:24.10 texmaker 0 No fix
Ubuntu:25.04 blender 0 No fix
Ubuntu:25.04 openjpeg2 0 2.5.0-2ubuntu3
Ubuntu:25.04 qtwebengine-opensource-src 0 No fix
Ubuntu:25.04 texmaker 0 No fix
Ubuntu:25.10 blender 0 No fix
Ubuntu:25.10 qtwebengine-opensource-src 0 No fix
Ubuntu:25.10 texmaker 0 No fix
Ubuntu:Pro:14.04:LTS openjpeg 0 No fix
Ubuntu:Pro:16.04:LTS blender 0 No fix
Ubuntu:Pro:16.04:LTS ghostscript 0 No fix
Ubuntu:Pro:16.04:LTS ghostscript 0 9.26~dfsg+0-0ubuntu0.16.04.14+esm9
Ubuntu:Pro:16.04:LTS insighttoolkit4 0 No fix
Ubuntu:Pro:16.04:LTS openjpeg 0 No fix
Ubuntu:Pro:16.04:LTS openjpeg2 0 No fix
Ubuntu:Pro:16.04:LTS openjpeg2 0 2.1.2-1.1+deb9u6ubuntu0.1~esm7
Ubuntu:Pro:16.04:LTS texmaker 0 No fix
Ubuntu:Pro:18.04:LTS blender 0 No fix
Ubuntu:Pro:18.04:LTS ghostscript 0 No fix
Ubuntu:Pro:18.04:LTS ghostscript 0 9.26~dfsg+0-0ubuntu0.18.04.18+esm4
Ubuntu:Pro:18.04:LTS insighttoolkit4 0 No fix
Ubuntu:Pro:18.04:LTS openjpeg2 0 No fix
Ubuntu:Pro:18.04:LTS openjpeg2 0 2.3.0-2+deb10u2ubuntu0.1~esm4
Ubuntu:Pro:18.04:LTS qtwebengine-opensource-src 0 No fix
Ubuntu:Pro:18.04:LTS texmaker 0 No fix
Ubuntu:Pro:20.04:LTS blender 0 No fix
Ubuntu:Pro:20.04:LTS insighttoolkit4 0 No fix
Ubuntu:Pro:20.04:LTS qtwebengine-opensource-src 0 No fix
Ubuntu:Pro:20.04:LTS texmaker 0 No fix
openSUSE:Leap 15.6 openjpeg2 0 2.3.0-150000.3.18.1
openSUSE:Tumbleweed openjpeg2 0 2.5.3-2.1

Related vulnerabilities