CVE-2026-51807
JSON

9.8critical

Heap-based out-of-bounds write in j2kprecinctsubband::parsepacketheader() in OpenHTJ2K versions 0.18.3 and earlier (fixed in v0.18.4) cause…

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.37% (higher than 33% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List

Classification

CWE-121

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-51807 changed 2026-07-17CVE Terms of Use
NVDCVE-2026-51807 changed 2026-07-17Public domain