OpenJPEG is an open-source JPEG 2000 codec. In OpenJPEG from 2.5.1 through 2.5.3, a call to opjjp2readheader may lead to OOB heap memory write when the data stream pstream is too short and p_image is not initialized.
{
"cwe_ids": [
"CWE-457"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54874.json",
"cna_assigner": "GitHub_M"
}{
"cpe": "cpe:2.3:a:uclouvain:openjpeg:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "2.5.3"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}