uclouvain openjpeg up to 2.5.3 opj_jp2_read_header uninitialized variable
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.9 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical was found in uclouvain openjpeg up to 2.5.3. Affected by this issue is the function opj_jp2_read_header. Such manipulation leads to uninitialized variable.
This vulnerability is documented as CVE-2025-54874. The attack can be executed remotely. There is not any exploit available.
It is advisable to implement a patch to correct this issue.
Details
A vulnerability, which was classified as critical, has been found in uclouvain openjpeg up to 2.5.3. Affected by this issue is the function opj_jp2_read_header. The manipulation with an unknown input leads to a uninitialized variable vulnerability. Using CWE to declare the problem leads to CWE-457. The code uses a variable that has not been initialized, leading to unpredictable or unintended results. Impacted is confidentiality, integrity, and availability. CVE summarizes:
OpenJPEG is an open-source JPEG 2000 codec. In OpenJPEG 2.5.3 and earlier, a call to opj_jp2_read_header may lead to OOB heap memory write when the data stream p_stream is too short and p_image is not initialized.
The advisory is shared for download at github.com. This vulnerability is handled as CVE-2025-54874 since 07/31/2025. 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 249264 (Fedora 41 : openjpeg (2025-4588dcd9ee)), which helps to determine the existence of the flaw in a target environment.
Applying the patch f809b80c67717c152a5ad30bf06774f00da4fd2d is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the databases at Tenable (249264), EUVD (EUVD-2025-23631) and CERT Bund (WID-SEC-2025-1722). Once again VulDB remains the best source for vulnerability data.
Affected
- Red Hat Enterprise Linux
- Fedora Linux
- Ubuntu Linux
- Oracle Linux
- SUSE openSUSE
- Open Source OpenJPEG
Product
Type
Vendor
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 8.0VulDB Meta Temp Score: 7.9
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD 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: Uninitialized variableCWE: CWE-457 / CWE-453
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔒
Status: Proof-of-Concept
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 249264
Nessus Name: Fedora 41 : openjpeg (2025-4588dcd9ee)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: f809b80c67717c152a5ad30bf06774f00da4fd2d
Timeline
07/31/2025 CVE reserved08/05/2025 Advisory disclosed
08/05/2025 VulDB entry created
11/02/2025 VulDB entry last update
Sources
Product: github.comAdvisory: f809b80c67717c152a5ad30bf06774f00da4fd2d
Status: Confirmed
CVE: CVE-2025-54874 (🔒)
GCVE (CVE): GCVE-0-2025-54874
GCVE (VulDB): GCVE-100-318836
EUVD: 🔒
CERT Bund: WID-SEC-2025-1722 - OpenJPEG: Schwachstelle ermöglicht Codeausführung
Entry
Created: 08/05/2025 17:08Updated: 11/02/2025 00:36
Changes: 08/05/2025 17:08 (70), 08/05/2025 18:47 (1), 08/06/2025 05:13 (2), 08/06/2025 12:28 (7), 08/08/2025 18:44 (1), 08/15/2025 15:17 (2), 09/12/2025 20:43 (12), 11/02/2025 00:36 (3)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.