CVE-2026-51807

Source
https://cve.org/CVERecord?id=CVE-2026-51807
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-51807.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-51807
Published
2026-07-14T00:00:00Z
Modified
2026-07-19T03:31:17.553100253Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Heap-based out-of-bounds write in j2kprecinctsubband::parsepacketheader() 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 j2kcodeblock::passlength[128]. A crafted JPEG 2000 codestream containing malformed PPM packet headers can trigger a heap-based out-of-bounds write in j2kprecinctsubband::parsepacketheader() in source/core/coding/codingunits.cpp due to missing bounds validation for the j2kcodeblock::pass_length[128] array which can lead to heap corruption and process termination.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/51xxx/CVE-2026-51807.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/osamu620/openhtj2k

Affected ranges

Type
GIT
Repo
https://github.com/osamu620/openhtj2k
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-51807.json"