CVE Explorer
CVE-2026-51807
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_code
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b0126be81bf5d8a3ea650166a274862b578dc2333c000d4878e2502f23263b5e · sha256:2e29a5c4ec859cf4… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-121","description":"CWE-121 Stack-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b0126be81bf5d8a3ea650166a274862b578dc2333c000d4878e2502f23263b5e · sha256:2e29a5c4ec859cf4… · /containers/adp/0/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:b0126be81bf5d8a3ea650166a274862b578dc2333c000d4878e2502f23263b5e · sha256:2e29a5c4ec859cf4… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:b0126be81bf5d8a3ea650166a274862b578dc2333c000d4878e2502f23263b5e · sha256:2e29a5c4ec859cf4… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b0126be81bf5d8a3ea650166a274862b578dc2333c000d4878e2502f23263b5e · sha256:2e29a5c4ec859cf4… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-121","description":"CWE-121 Stack-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b0126be81bf5d8a3ea650166a274862b578dc2333c000d4878e2502f23263b5e · sha256:2e29a5c4ec859cf4… · /containers/adp/0/problemTypes/0/descriptions/0
Source references
4 source assertions{"url":"https://github.com/osamu620/OpenHTJ2K/blob/main/CHANGELOG"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b0126be81bf5d8a3ea650166a274862b578dc2333c000d4878e2502f23263b5e · sha256:2e29a5c4ec859cf4… · /containers/cna/references/1
{"url":"https://github.com/osamu620/OpenHTJ2K/commit/0778b93"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b0126be81bf5d8a3ea650166a274862b578dc2333c000d4878e2502f23263b5e · sha256:2e29a5c4ec859cf4… · /containers/cna/references/0
{"url":"https://github.com/osamu620/OpenHTJ2K/compare/0778b93...v0.18.4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b0126be81bf5d8a3ea650166a274862b578dc2333c000d4878e2502f23263b5e · sha256:2e29a5c4ec859cf4… · /containers/cna/references/3
{"url":"https://github.com/osamu620/OpenHTJ2K/releases"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b0126be81bf5d8a3ea650166a274862b578dc2333c000d4878e2502f23263b5e · sha256:2e29a5c4ec859cf4… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.