VDB
CVE-2025-54874
CVE-2025-54874
PUBLISHED
CVSS 6.6 MEDIUM
OpenJPEG allows OOB heap memory write in opj_jp2_read_header
Reported by github_m · Published August 5, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| qt6-qtwebengine | Alpine | 6.9.2-r1 |
| openjpeg | uclouvain | 2.5.3 |
Risk scores
CVSS 4.0
6.6
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
Affected products
| Vendor | Product | Versions |
|---|---|---|
| uclouvain | openjpeg | >= 2.5.1, <= 2.5.3 |
| alpine | qt6-qtwebengine | 0 |
| uclouvain | openjpeg | 2.5.1 |
| chainguard | openjpeg | 0 |
| alpine | openjpeg | 0, 0 |
| wolfi | openjpeg | 0 |
Timeline
- Aug 5, 2025 Coalition ESS Score (12 in total, the first dated here)
- Aug 5, 2025 CVE Published
- Aug 6, 2025 EPSS Score (30 in total, the first dated here)
- Dec 10, 2025 Security Advisory (9 in total, the first dated here)
- Feb 26, 2026 CVE Updated
- Oct 6, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-54874
vulnetix vdb fixes CVE-2025-54874
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-54874/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/uclouvain/openjpeg/commit/f809b80c67717c152a5ad30bf06774f00da4fd2d x_refsource_CONFIRM
- https://github.com/uclouvain/openjpeg/pull/1573 x_refsource_MISC
- https://securitylab.github.com/advisories/GHSL-2025-057_OpenCV x_refsource_MISC