Cloudanix VulnDB

CVE-2023-39329

Medium · 6.5

CVSS

6.5

EPSS

0.6%

Published

Jul 13, 2024

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in an image library lets attackers crash or slow down programs by sending specially made picture files.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Resource exhaustion triggered in opj_t1_decode_cblks during processing of a specially crafted image, resulting in denial of service.

Why it matters to the business

Image-handling services and applications become unavailable or slow when attackers supply malicious files, disrupting operations and requiring restarts or resource recovery.

How an attack unfolds

An attacker creates a malicious image file designed to trigger excessive memory or CPU consumption inside the decoder, then delivers the file through any channel that causes the victim application to process it, leading to exhaustion and service disruption.

How to fix it

Upgrade OpenJPEG to a version that resolves the decoder issue; until available, implement input validation, sandbox image processing, or switch to an alternative library for untrusted images.

How to confirm the fix worked

Test that crafted images no longer cause excessive resource usage or crashes after applying updates; monitor process resource metrics during image decoding tests.

Typical attack path

  1. Craft a malicious image file targeting the decoder flaw
  2. Deliver the file via upload, email, or web request
  3. Victim application invokes the affected decoding path
  4. Resource exhaustion causes denial of service

How to detect it

Review application and system logs for sudden spikes in CPU or memory usage during image decoding, unexpected process crashes, or restarts triggered by image-handling components.

What your security team should do

  • Prioritize patching affected OpenJPEG installations once fixes are released
  • Restrict processing of untrusted images until remediation is complete
  • Add resource limits and monitoring around image decoding workflows

The record

A flaw was found in OpenJPEG. A resource exhaustion can occur in the opj_t1_decode_cblks function in tcd.c through a crafted image file, causing a denial of service.

Affected packages

Ecosystem Package Introduced Fixed
Chainguard openjpeg-dev 0 2.5.4-r0
Chainguard openjpeg-tools 0 2.5.4-r0
Debian:11 openjpeg2 0 No fix
Debian:12 openjpeg2 0 No fix
Debian:13 openjpeg2 0 No fix
Ubuntu:14.04:LTS openjpeg 0 No fix
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 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 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 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 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 No fix
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 openjpeg2 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 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 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 insighttoolkit4 0 No fix
Ubuntu:Pro:18.04:LTS openjpeg2 0 No fix
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 openjpeg2 0 No fix
Ubuntu:Pro:20.04:LTS qtwebengine-opensource-src 0 No fix
Ubuntu:Pro:20.04:LTS texmaker 0 No fix
Wolfi openjpeg-dev 0 2.5.4-r0
Wolfi openjpeg-tools 0 2.5.4-r0

Related vulnerabilities