{"id":"CVE-2026-51807","published":"2026-07-14T00:00:00Z","modified":"2026-07-17T15:02:40Z","title":"Heap-based out-of-bounds write in j2k_precinct_subband::parse_packet_header() in OpenHTJ2K versions 0.18.3 and earlier…","vendor":null,"product":null,"tier":"tail","description":{"text":"Heap-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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00671,"percentile":0.47058,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://github.com/osamu620/OpenHTJ2K/commit/0778b93","tags":[]},{"url":"https://github.com/osamu620/OpenHTJ2K/blob/main/CHANGELOG","tags":[]},{"url":"https://github.com/osamu620/OpenHTJ2K/releases","tags":[]},{"url":"https://github.com/osamu620/OpenHTJ2K/compare/0778b93...v0.18.4","tags":[]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":9.41},{"name":"CVSS severity","points":6.86}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-15T14:08:13.103708Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-44580","exploited":false,"provenance":"source"}}