CVE-2024-56827: Openjpeg: heap buffer overflow in lib/openjp2/j2k.c
Vulnerability summary
CVE-2024-56827 is a medium (CVSS 5.6) Heap-based Buffer Overflow vulnerability in openjpeg2. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 17.7% of scored vulnerabilities.
Not severe (CVSS 5.6, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 2Timeline
- 09-01-2025PublishedVulnerability first disclosed.
- 06-11-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H
- NVDNIST5.6MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
18%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.26% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu6 products
- blenderAll versions (No fix recorded)
- ghostscript< 9.26~dfsg+0-0ubuntu0.16.04.14+esm9 | < 9.26~dfsg+0-0ubuntu0.18.04.18+esm4
- insighttoolkit4All versions (No fix recorded)
- openjpeg2< 2.1.2-1.1+deb9u6ubuntu0.1~esm7 | < 2.3.0-2+deb10u2ubuntu0.1~esm4 | < 2.3.1-1ubuntu4.20.04.4 | < 2.4.0-6ubuntu0.3 | < 2.5.0-2ubuntu0.3
- qtwebengine-opensource-srcAll versions (No fix recorded)
Debian1 product
- openjpeg2< 2.5.0-2+deb12u1 | < 2.5.3-1
2 vendors · 7 products