CVE-2023-39328
Medium · 5.5CVSS
5.5
EPSS
0.2%
Published
Jul 9, 2024
CISA due date
—
Cloudanix analysis
A bug in how certain image files are handled can make an application stop working if someone feeds it a specially made file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Memory corruption flaw in OpenJPEG image processing allows a maliciously crafted file to bypass existing protections and trigger an application crash.
Why it matters to the business
Processing of untrusted image files can cause unexpected application downtime and service disruption for organizations relying on the affected software component.
How an attack unfolds
An attacker crafts a malicious image file exploiting the memory corruption, then supplies it to the application for processing, resulting in a crash without requiring authentication or elevated privileges.
How to fix it
Update to the fixed commit b43e0e3de5b500554e13dc032ba2083b2d6c94b8 or later version of the affected package to resolve the memory corruption issue.
How to confirm the fix worked
Verify the deployed package version matches or exceeds the fixed commit, retest file processing with known-good and crafted inputs to confirm crashes no longer occur, and review dependency manifests for the updated component.
Typical attack path
- Identify an entry point where the application processes image files using the vulnerable component
- Craft a malicious file that triggers the memory corruption
- Deliver the file to the target application for local processing
- Trigger the crash to achieve denial of service
How to detect it
Review application logs and crash reports for unexpected terminations during image file processing; examine file ingestion timestamps and sources for anomalies around the time of any observed crashes.
What your security team should do
- Prioritize upgrade of the affected package within standard maintenance windows given the low exploitation likelihood
- Restrict processing of untrusted image files until the update is applied
- Monitor for any new exploitation activity despite the stable low EPSS score
The record
A vulnerability was found in OpenJPEG similar to CVE-2019-6988. This flaw allows an attacker to bypass existing protections and cause an application crash through a maliciously crafted file.
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 |
| Debian:14 | 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
- CVE-2023-39329 A flaw was found in OpenJPEG. Also affects openjpeg-dev
- CVE-2023-39327 A flaw was found in OpenJPEG. Also affects openjpeg-dev
- CVE-2024-56827 A flaw was found in the OpenJPEG project. Also affects openjpeg2
- CVE-2024-56826 A flaw was found in the OpenJPEG project. Also affects openjpeg2
- CVE-2017-17480 In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume… Also affects openjpeg2
- CVE-2016-10506 Division-by-zero vulnerabilities in the functions opj_pi_next_cprl, opj_pi_next_pcrl, and… Also affects openjpeg2
- CVE-2016-9112 Floating Point Exception (aka FPE or divide by zero) in opj_pi_next_cprl function in… Also affects openjpeg2
- CVE-2022-2831 A flaw was found in Blender 3.3.0. Also affects blender