CVE-2025-54874
published 2025-08-05CVE-2025-54874: OpenJPEG is an open-source JPEG 2000 codec. In OpenJPEG from 2.5.1 through 2.5.3, a call to opj_jp2_read_header may lead to OOB heap memory write when the data…
medium6.6CVSS 4.0
AVLACLATPPRNUINVCHVIHVAHSCNSINSANEPCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUX
OpenJPEG is an open-source JPEG 2000 codec. In OpenJPEG from 2.5.1 through 2.5.3, 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.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | openjpeg2 | < openjpeg2 2.5.3-2.1 (forky) | openjpeg2 2.5.3-2.1 (forky) |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.5.3-2.1~deb13u1 | 2.5.3-2.1~deb13u1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.5.3-2.1 | 2.5.3-2.1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.4.0-6ubuntu0.4 | 2.4.0-6ubuntu0.4 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.5.0-2ubuntu0.4 | 2.5.0-2ubuntu0.4 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.0-2+deb10u2ubuntu0.1~esm5 | 2.3.0-2+deb10u2ubuntu0.1~esm5 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.1-1ubuntu4.20.04.4+esm1 | 2.3.1-1ubuntu4.20.04.4+esm1 |
| uclouvain | openjpeg | <= 2.5.3 | — |
| uclouvain | openjpeg | — | — |
CVSS provenance
nvdv4.06.6MEDIUMCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
osv6.6MEDIUM