CVE-2025-54874
9.8
CRITICAL
CVSS 3.1
EPSS 0.33%
Description
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.
How to fix CVE-2025-54874
To remediate CVE-2025-54874, upgrade the affected package to a fixed version below.
- Alpine/openjpeg—upgrade to 2.5.3-r1 or later
- Debian/openjpeg2—upgrade to 2.5.3-2.1~deb13u1 or later
Is CVE-2025-54874 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.5.3-r1
- from 0, < 2.5.3-2.1~deb13u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |