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.

PackageEcosystemFixed in
qt6-qtwebengineAlpine6.9.2-r1
openjpeguclouvain2.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

VendorProductVersions
uclouvainopenjpeg>= 2.5.1, <= 2.5.3
alpineqt6-qtwebengine0
uclouvainopenjpeg2.5.1
chainguardopenjpeg0
alpineopenjpeg0, 0
wolfiopenjpeg0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›