Skip to content

CVE-2026-112213 Reading Off-Limits by Dan Bloomberg in Leptonica

MediumCVSS 6.9 EPSS 0.33%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Ubuntu

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.

Upgrade path

5 packages: 0 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/leptonlib(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/leptonlib(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/leptonlib(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/leptonlib(Ubuntu 26.10) All versions No fix listed No fix yet
Dan Bloomberg Leptonica = Leptonica 1.87.0 (commit 13275a2), in builds with JPEG 2000 support enabled via HAVE_LIBJP2K / OpenJPEG. No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Dan Bloomberg Leptonica = Leptonica 1.87.0 (commit 13275a2), in builds with JPEG 2000 support enabled via HAVE_LIBJP2K / OpenJPEG. No fix listed
ubuntu/leptonlib(Ubuntu:22.04) All versions No fix listed
ubuntu/leptonlib(Ubuntu:24.04) All versions No fix listed
ubuntu/leptonlib(Ubuntu:26.04) All versions No fix listed
ubuntu/leptonlib(Ubuntu:26.10) All versions No fix listed

References