CVE-2023-39327: Openjpeg: malicious files can cause the program to enter a large loop
Noroxi assessment
Priority: Monitor (action score 17/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.55% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: openjpeg (openSUSE:Leap 15.6) 1.5.2-150000.4.15.1; openjpeg2 (openSUSE:Leap 15.6) 2.3.0-150000.3.24.1; openjpeg2 (openSUSE:Leap 16.0) 2.5.3-160000.3.1.
Low priority for now. Upgrade to openjpeg (openSUSE:Leap 15.6) 1.5.2-150000.4.15.1; openjpeg2 (openSUSE:Leap 15.6) 2.3.0-150000.3.24.1; openjpeg2 (openSUSE:Leap 16.0) 2.5.3-160000.3.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
A flaw was found in OpenJPEG. Maliciously constructed pictures can cause the program to enter a large loop and continuously print warning messages on the terminal.
- Published
- Jul 13, 2024
- Updated
- Nov 7, 2026
- EPSS
- 0.5% · 46th percentile
- CWE
- CWE-400
Report tools
Action score
17
Monitor
Low priority for now.
- CVSS
- 17 / 40 · 4.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.5%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · redhat
- 4.3
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| uclouvain | openjpeg | cpe:2.3:a:uclouvain:openjpeg |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- uclouvain openjpegall versions
- uclouvain openjpeg2.0
- uclouvain openjpeg2.5.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
Red Hat Red Hat AI Inference Server 3.2
- 1772713830 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 6
- all versionsunknown
Red Hat Red Hat Enterprise Linux 7
- all versionsunknown
- all versionsunknown
Red Hat Red Hat Enterprise Linux 8
- all versionsaffected
- all versionsaffected
- all versionsaffected
- all versionsaffected
Red Hat Red Hat Enterprise Linux 9
- all versionsaffected
www.openjpeg.org/ openjpeg
- 2.5.0affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | openjpeg2 | from 0 | — |
| openSUSE:Leap 15.6 | openjpeg | before 1.5.2-150000.4.15.1 | 1.5.2-150000.4.15.1 |
| openSUSE:Leap 15.6 | openjpeg2 | before 2.3.0-150000.3.24.1 | 2.3.0-150000.3.24.1 |
| openSUSE:Leap 16.0 | openjpeg2 | before 2.5.3-160000.3.1 | 2.5.3-160000.3.1 |
| openSUSE:Tumbleweed | openjpeg2 | before 2.5.4-2.1 | 2.5.4-2.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | openjpeg2 | before 2.3.0-150000.3.24.1 | 2.3.0-150000.3.24.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP6 | openjpeg | before 1.5.2-150000.4.15.1 | 1.5.2-150000.4.15.1 |
| SUSE:Linux Enterprise Server 16.0 | openjpeg2 | before 2.5.3-160000.3.1 | 2.5.3-160000.3.1 |
| SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | openjpeg2 | before 2.1.0-4.27.1 | 2.1.0-4.27.1 |
Same product
uclouvain: all recordsOther highest-scoring records for the same primary product.
- CVE-2012-3358Multiple heap-based buffer overflows in the j2k_read_sot function in j2k.c in OpenJPEG 1.5 allow remote attackers to cause a denial of…42Plan
- CVE-2017-17480In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume function in jp3d/convert.c.41Plan
- CVE-2013-4290Stack-based buffer overflow in OpenJPEG before 1.5.2 allows remote attackers to have unspecified impact via unknown vectors to (1)…41Plan
Published before and after this one in the same product
- ← EarlierCVE-2022-1122Mar 29, 2022 · A flaw was found in the opj2_decompress program in openjpeg2 2.4.0 in the way it handles an input directory with a large number of files.22Monitor
- ← EarlierCVE-2023-39328Jul 9, 2024 · Openjpeg: denail of service via crafted image file22Monitor
- Later →CVE-2023-39329Jul 13, 2024 · Openjpeg: resource exhaustion will occur in the opj_t1_decode_cblks function in the tcd.c26Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| opensuse:openjpeg | 1.5.2-150000.4.15.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:openjpeg2 | 2.3.0-150000.3.24.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| suse:openjpeg | 1.5.2-150000.4.15.1 · SUSE:Linux Enterprise Module for Desktop Applications 15 SP6 | Package registry (OSV) |
| suse:openjpeg2 | 2.1.0-4.27.1 · SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | Package registry (OSV) |
| suse:openjpeg2 | 2.3.0-150000.3.24.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2023-393290 days apartOpenjpeg: resource exhaustion will occur in the opj_t1_decode_cblks function in the tcd.c26Monitor
- CVE-2023-393284 days apartOpenjpeg: denail of service via crafted image file22Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- low · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- Low
Weakness class (CWE)
CWE-400 · Uncontrolled Resource ConsumptionCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
nvd-secondary
Root cause
Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.
The bug in code
The whole CWE-400 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
function expand(node) {
return node.children.map(expand);
}Fixed
const MAX_DEPTH = 32;
function expand(node, depth = 0) {
if (depth > MAX_DEPTH) throw new Error("too deep");
return node.children.map((c) => expand(c, depth + 1));
}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (3 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.