uclouvain openjpeg up to 2.5.3 opj_jp2_read_header uninitialized variable

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.9$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 8.0
VulDB 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: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Uninitialized variable
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 249264
Nessus Name: Fedora 41 : openjpeg (2025-4588dcd9ee)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔒

Patch: f809b80c67717c152a5ad30bf06774f00da4fd2d

Timelineinfo

07/31/2025 CVE reserved
08/05/2025 +5 days Advisory disclosed
08/05/2025 +0 days VulDB entry created
11/02/2025 +88 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: 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

Entryinfo

Created: 08/05/2025 17:08
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!