CVE-2026-51807: Vulnerability

Critical. 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...

CWE-121

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Unknown
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-121
Published
14 Jul 2026
Last change
17 Jul 2026

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes