OpenJPEG allows OOB heap memory write in opj_jp2_read_header

CVE Details

Basic Information

Title OpenJPEG allows OOB heap memory write in opj_jp2_read_header
Type cve
Published 2025-08-05T14:33:17.323Z
Modified 2025-08-05T14:49:31.036Z

Product Information

Vendor uclouvain
Product openjpeg
Version <= 2.5.3

CVSS Information

Base Score 6.6 (MEDIUM)
Attack Vector CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

AI Analysis

AI Description OpenJPEG versions 2.5.3 and earlier contain a vulnerability where a function call can lead to an out-of-bounds heap memory write, potentially causing memory corruption.
AI Severity Medium
AI Vendor University of Louvain
AI Product OpenJPEG
AI Version 2.5.3 and earlier

Affected Products

  • uclouvain openjpeg <= 2.5.3

Additional Information

CWE List CWE-457
Source GitHub_M

Description

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.

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.