Read the docs
TI-2025-34608 Aliases CVE-2025-54874

OpenJPEG allows OOB heap memory write in opj_jp2_read_header

Priority MEDIUM 64CWE-457Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 2 fixed, 1 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00658 51st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial Red Hat: 1 advisoryRed Hat: 2 fixed, 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
The OpenJPEG Projectopenjpeg2.5.1 – 2.5.3—No fix listedCNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:uclouvain:openjpeg:*:*:*:*:*:*:*:*up to 2.5.3VulnerableThe OpenJPEG Project

Remediation

Red Hat 1 advisory

  • RHSA-2025:13944 Released 2025-08-18 · Red Hat rating Important
    openjpeg2 security update
    • Red Hat Enterprise Linux AppStream (v. 10) openjpeg2-2.5.2-4.el10_0.1
    • Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) openjpeg2-devel-2.5.2-4.el10_0.1, openjpeg2-tools-2.5.2-4.el10_0.1

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux AppStream (v. 10)Fixed RHSA-2025:13944
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)Fixed RHSA-2025:13944
Not affected: 4 products
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux AI (RHEL AI)

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-54874
  2. 2026-10-28 EPSS moved to the 50th–90th percentile

References

  • TI-2025-32278 openjpeg v 2.5.0 was discovered to contain a NULL pointer dereference via the component /openjp2/dwt.c. CVSS 3.1MEDIUM 6.5
  • TI-2012-02889 Multiple heap-based buffer overflows in the j2k_read_sot function in j2k.c in OpenJPEG… CVSS 2.0HIGH 10.0
  • TI-2017-12771 In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume… CVSS 3.1CRITICAL 9.8
  • TI-2017-12770 In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage… CVSS 3.0CRITICAL 9.8
  • TI-2015-07301 Use-after-free vulnerability in the opj_j2k_write_mco function in j2k.c in OpenJPEG… CVSS 3.0CRITICAL 9.8
  • TI-2013-03756 Stack-based buffer overflow in OpenJPEG before 1.5.2 allows remote attackers to have… CVSS 2.0HIGH 10.0
See all 81 →

Sources