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

Published Nov 18, 2026
·
Updated

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.

Affected Software

1 affected component
Leptonica Leptonica

Event History

Nov 18, 2026
CVE Published
via MITRE·09:58 AM
Data Sourced
via MITRE·09:58 AM
RemedyDescriptionWeakness
Data Sourced
via NVD·10:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions are required to exploit this issue?

An attacker needs to supply a specially crafted JPEG 2000 image that is processed by the vulnerable pixReadMemJp2kCore() function. The image must have component buffers with dimensions smaller than component 0 so that traversal goes beyond those buffers.

2

Who could be exposed to disclosed data?

Anyone who can access the decoded image output may receive pixel data incorporating reads from adjacent dynamic memory. Exposure therefore depends on whether decoded JPEG 2000 output is made available to untrusted or other users.

3

How can I determine whether a file may trigger the issue?

The affected condition occurs when a JPEG 2000 image has components whose dimensions are smaller than component 0 and is decoded through pixReadMemJp2kCore(). The provided information does not identify affected versions or a specific detection method.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203