{"id":"CVE-2026-51807","aliases":["CVE-2026-51807"],"related":[],"kind":"vulnerability","state":"published","title":"Heap-based out-of-bounds write in j2kprecinctsubband::parsepacketheader() in OpenHTJ2K versions 0.18.3 and earlier (fixed in v0.18.4) cause…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-07-14T00:00:00.000Z","modified":"2026-07-17T16:17:15.513Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-121"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"}],"references":[{"url":"https://github.com/osamu620/OpenHTJ2K/commit/0778b93","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/osamu620/OpenHTJ2K/blob/main/CHANGELOG","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/osamu620/OpenHTJ2K/releases","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/osamu620/OpenHTJ2K/compare/0778b93...v0.18.4","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-07-15T14:08:13.103Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-51807","url":"https://www.cve.org/CVERecord?id=CVE-2026-51807","licence":"CVE Terms of Use","modified":"2026-07-17T15:02:40.362Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-51807","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-51807","licence":"Public domain","modified":"2026-07-17T16:17:15.513Z"}],"updatedAt":"2026-11-25T22:59:28.253Z","epss":{"score":0.00371,"percentile":0.33075,"date":"2026-12-01T12:00:22.000Z"}}