OpenJPH Heap Out-of-Bounds Write in HTJ2K Cleanup-Pass Decoder
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
OpenJPH through 0.32.0 contains a heap out-of-bounds write in the HTJ2K cleanup-pass decoder. A crafted .j2c or .jph codestream with small precinct sizes makes the decoder write a second row past a one-row codeblock buffer, corrupting memory and crashing the process. The weakness is CWE-787, Out-of-bounds Write, with a CVSS 4.0 base score of 6.9 (MEDIUM). CISA rates exploitation as PoC, not automatable, with partial technical impact, and has not added it to KEV.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
OpenJPH through 0.32.0 contains a heap out-of-bounds write vulnerability in the HTJ2K cleanup-pass decoder that allows attackers to corrupt memory via one-row codeblocks. Attackers can supply a crafted .j2c or .jph codestream with small precinct sizes, causing the decoder to write a second row past the codeblock buffer, resulting in memory corruption and crashes.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version is listed for OpenJPH as of this record. Red Hat reports one product as not affected. Until a fix is released, avoid decoding untrusted JPEG 2000 HTJ2K files with OpenJPH 0.32.0 or earlier.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Vendor assessments
Timeline
- 2026-10-16 Threatist record created from CVE-2026-111151
- 2026-10-18 Affected versions changed · Red Hat
- 2026-10-18 CVSS score added · Red Hat
References
Other 4
- https://github.com/aous72/OpenJPH/blob/23c422895ce6c3a156935222e4715ee0b7be952c/src/core/codestream/ojph_subband.cpp#L136-L142
- https://github.com/aous72/OpenJPH/blob/23c422895ce6c3a156935222e4715ee0b7be952c/src/core/codestream/ojph_codeblock.cpp#L79-L84
- https://github.com/aous72/OpenJPH/blob/23c422895ce6c3a156935222e4715ee0b7be952c/src/core/coding/ojph_block_decoder32.cpp#L1135-L1155
- https://github.com/aous72/OpenJPH
Sources
- CVE-2026-111151 · CVE Program
- CVE-2026-111151 · NVD
- FIRST EPSS
- CVE-2026-111151 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences