CVE-2026-112213
Description
Out-of-bounds read vulnerability in the pixReadMemJp2kCore() function in Leptonica, located in jp2kio.c. The function retrieves the output dimensions only for component 0 and uses a common index to iterate through the buffers of all components. If the remaining components have smaller dimensions, the traversal exceeds the bounds of their sample buffers, which are allocated by OpenJPEG. When processing a specially crafted JPEG 2000 image, data read from adjacent dynamic memory may be incorporated into the pixels of the decoded image and result in information disclosure to anyone who can access the output.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Ubuntu Fixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| stonking | libleptonica-dev leptonica-progs libleptonica6 |
Fixed | 1.86.0-1ubuntu0.26.10.1 |
| resolute | libleptonica6 leptonica-progs libleptonica-dev |
Fixed | 1.86.0-1ubuntu0.26.04.1~esm1 |
| noble | liblept5 libleptonica-dev leptonica-progs |
Fixed | 1.82.0-3ubuntu0.24.04.1~esm1 |
| jammy | leptonica-progs liblept5 libleptonica-dev |
Fixed | 1.82.0-3ubuntu0.22.04.1~esm1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| dan_bloomberg | leptonica | Leptonica 1.87.0 (commit 13275a2), in builds with JPEG 2000 support enabled via HAVE_LIBJP2K / OpenJPEG. | |
References
CWEs
CWE-125
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.