CVE-2026-111151
CVE-2026-111151 · OpenJPH through 0.32.0 Heap Out-of-Bounds Write in HTJ2K Cleanup-Pass Decoder
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.9 · Medium · EPSS 0.1%
- Published
- Updated
Stack: system
Affected products and versions
openjph
- Versions
- ≥ 0, ≤ 0.32.0: Affected (semver)
No fix published
openjph Debian:12
- Versions
- 0.10.3-1
- 0.10.3-2
- 0.18.2-1
- 0.18.2-1.1
- 0.18.2-2
- 0.21.0-1
- 0.21.0-1.1
- 0.21.2-1
- 0.21.5-1
- 0.21.5-2
- 0.25.3-1
- 0.26.0-1
- 0.26.3-1
- 0.27.0-1
- 0.27.3-1
- 0.28.1-1
- 0.32.0-1
- 0.9.0-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openjph Debian:13
- Versions
- 0.21.2-1
- 0.21.5-1
- 0.21.5-2
- 0.25.3-1
- 0.26.0-1
- 0.26.3-1
- 0.27.0-1
- 0.27.3-1
- 0.28.1-1
- 0.32.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openjph Debian:14
- Versions
- 0.21.2-1
- 0.21.5-1
- 0.21.5-2
- 0.25.3-1
- 0.26.0-1
- 0.26.3-1
- 0.27.0-1
- 0.27.3-1
- 0.28.1-1
- 0.32.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openjph Ubuntu:24.04:LTS
- Versions
- 0.9.0-3build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openjph Ubuntu:26.10
- Versions
- 0.26.0-1
- 0.27.0-1
- 0.27.3-1
- 0.28.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openjph Ubuntu:26.04:LTS
- Versions
- 0.21.2-1
- 0.21.5-1
- 0.21.5-2
- 0.25.3-1
- 0.26.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://hackmd.io/@haind-pwn/openjph-htj2k-degenerate-codeblock-cleanup-oob-write
- 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
- https://www.vulncheck.com/advisories/openjph-through-0.32.0-heap-out-of-bounds-write-in-htj2k-cleanup-pass-decoder
- https://nvd.nist.gov/vuln/detail/CVE-2026-111151