CVE-2026-51807
CRITICAL 9.8CVSS 3.1Heap-based out-of-bounds write in j2k_precinct_subband::parse_packet_header() in OpenHTJ2K versions 0.18.3 and earlier (fixed in v0.18.4) caused by missing bounds validation before coding-pass lengths are written to j2k_codeblock::pass_length[128]. A crafted JPEG 2000 codestream containing malformed PPM packet headers can trigger a heap-based out-of-bounds write in j2k_precinct_subband::parse_packet_header() in source/core/coding/coding_units.cpp due to missing bounds validation for the j2k_codeblock::pass_length[128] array which can lead to heap corruption and process termination.
- Published
- 14 Jul 2026
- Last modified
- 17 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-121
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
- https://github.com/osamu620/OpenHTJ2K/blob/main/CHANGELOG
- https://github.com/osamu620/OpenHTJ2K/commit/0778b93
- https://github.com/osamu620/OpenHTJ2K/compare/0778b93...v0.18.4
- https://github.com/osamu620/OpenHTJ2K/releases
History
- 25 Nov 2026 21:03 UTC ยท NVD: first stored (published 14 Jul 2026)