CVE-2024-56826
Openjpeg: heap buffer overflow in bin/common/color.c
Reported by redhat · Published January 9, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openjpeg2 | Amazon Linux | 2.4.0-11.amzn2023.0.5, 2.4.0-5.amzn2.0.1 |
| openjpeg2-devel-docs | Amazon Linux | 2.4.0-11.amzn2023.0.5, 2.4.0-5.amzn2.0.1 |
| openjpeg2-devel | Amazon Linux | 2.4.0-11.amzn2023.0.5, 2.4.0-5.amzn2.0.1 |
| openjpeg2-tools | Amazon Linux | 2.4.0-11.amzn2023.0.5, 2.4.0-5.amzn2.0.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 2.5.3 | ||
| Red Hat | Red Hat Enterprise Linux 9 | 0:2.4.0-8.el9 |
| Red Hat | Red Hat Enterprise Linux 10 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| amazon:2023 | openjpeg2 | 0 |
| Red Hat | Red Hat Enterprise Linux 7 | |
| 2.5.3 | ||
| amazon:2 | openjpeg2 | 0 |
| amazon:2023 | openjpeg2-devel-docs | 0 |
| Red Hat | Red Hat Enterprise Linux 8 | |
| amazon:2023 | openjpeg2-devel | 0 |
| amazon:2 | openjpeg2-devel | 0 |
| amazon:2 | openjpeg2-devel-docs | 0 |
| amazon:2 | openjpeg2-tools | 0 |
| Red Hat | Red Hat Enterprise Linux 10 | |
| Red Hat | Red Hat Enterprise Linux 9 | 0:2.4.0-8.el9 |
…and 4 more
Timeline
- Jan 1, 2025 CVE Published
- Jan 9, 2025 EPSS Score (30 in total, the first dated here)
- Feb 3, 2025 Coalition ESS Score (9 in total, the first dated here)
- Oct 5, 2025 CVE Updated
- Mar 11, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 11, 2026 Security Advisory (6 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-56826
vulnetix vdb fixes CVE-2024-56826
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-56826/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2025:7309 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2335172 issue-trackingx_refsource_REDHAT
- https://lists.debian.org/debian-lts-announce/2025/04/msg00002.html advisory