{"id":"CVE-2026-111151","revision":"4ba3e9c647ab4295a9cc21e724bb2a62","records":[{"revision":"4ba3e9c647ab4295a9cc21e724bb2a62","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-111151","aliases":[],"title":"OpenJPH through 0.32.0 Heap Out-of-Bounds Write in HTJ2K Cleanup-Pass Decoder","description":"OpenJPH through 0.32.0 contains a heap out-of-bounds write vulnerability in the HTJ2K cleanup-pass decoder that allows attackers to corrupt memory via one-row codeblocks. Attackers can supply a crafted .j2c or .jph codestream with small precinct sizes, causing the decoder to write a second row past the codeblock buffer, resulting in memory corruption and crashes.","state":0,"publishedAt":"2026-10-15T18:57:40.179+00:00","modifiedAt":"2026-10-15T19:36:21.172+00:00","affected":[{"ecosystem":"https://github.com","name":"OpenJPH","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"aous72\",\n                    \"product\": \"OpenJPH\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"0.32.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"collectionURL\": \"https://github.com\",\n                    \"repo\": \"https://github.com/aous72/OpenJPH\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","score":6.9,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","score":6.1,"severity":"MEDIUM"}],"references":["https://hackmd.io/@haind-pwn/openjph-htj2k-degenerate-codeblock-cleanup-oob-write","https://github.com/aous72/OpenJPH/blob/23c422895ce6c3a156935222e4715ee0b7be952c/src/core/codestream/ojph_subband.cpp#L136-L142","https://github.com/aous72/OpenJPH/blob/23c422895ce6c3a156935222e4715ee0b7be952c/src/core/codestream/ojph_codeblock.cpp#L79-L84","https://github.com/aous72/OpenJPH/blob/23c422895ce6c3a156935222e4715ee0b7be952c/src/core/coding/ojph_block_decoder32.cpp#L1135-L1155","https://github.com/aous72/OpenJPH","https://www.vulncheck.com/advisories/openjph-through-0.32.0-heap-out-of-bounds-write-in-htj2k-cleanup-pass-decoder"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-111151","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-111151","identifiers":["CVE-2026-111151"]},"retained":false,"historicalAffected":[]}],"coverage":[]}