OpenJPEG up to 2.4.0 bin/common/color.c opj_j2k_add_tlmarker heap-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.8 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, was found in OpenJPEG. Affected by this issue is the function opj_j2k_add_tlmarker of the file bin/common/color.c. Such manipulation leads to heap-based overflow.
This vulnerability is listed as CVE-2024-56826. The attack may be performed from remote. There is no available exploit.
You should upgrade the affected component.
Details
A vulnerability, which was classified as critical, has been found in OpenJPEG. Affected by this issue is the function opj_j2k_add_tlmarker of the file bin/common/color.c. The manipulation with an unknown input leads to a heap-based overflow vulnerability. Using CWE to declare the problem leads to CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). Impacted is confidentiality, integrity, and availability. CVE summarizes:
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.
The advisory is shared for download at github.com. This vulnerability is handled as CVE-2024-56826. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 213693 (SUSE SLES12 Security Update : openjpeg2 (SUSE-SU-2025:0040-1)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 2.5.3 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch e492644fbded4c820ca55b5e50e598d346e850e8 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (213693) and EUVD (EUVD-2024-53437). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.9VulDB Meta Temp Score: 5.8
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 5.6
CNA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Heap-based overflowCWE: CWE-122 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 213693
Nessus Name: SUSE SLES12 Security Update : openjpeg2 (SUSE-SU-2025:0040-1)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: OpenJPEG 2.5.3
Patch: e492644fbded4c820ca55b5e50e598d346e850e8
Timeline
01/01/2025 🔍01/01/2025 🔍
07/05/2025 🔍
Sources
Advisory: github.comStatus: Confirmed
CVE: CVE-2024-56826 (🔍)
GCVE (CVE): GCVE-0-2024-56826
GCVE (VulDB): GCVE-100-289928
EUVD: 🔍
Entry
Created: 01/01/2025 18:43Updated: 07/05/2025 12:07
Changes: 01/01/2025 18:43 (56), 01/09/2025 14:56 (13), 01/10/2025 11:45 (2), 02/16/2025 08:16 (3), 07/05/2025 12:07 (1)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.