p PatchFirst

CVE-2026-112213

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

CVSS 6.9 · Medium · EPSS 0.4%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="leptonlib"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • leptonica

    Versions
    • Leptonica 1.87.0 (commit 13275a2), in builds with JPEG 2000 support enabled via HAVE_LIBJP2K / OpenJPEG.: Affected

    No fix published

  • leptonlib Ubuntu Pro 14.04 LTS

    Versions
    • 1.69-4ubuntu1
    • 1.69-4ubuntu2
    • 1.69-4ubuntu3
    • 1.69-4ubuntu4
    • 1.70.1-1
    • 1.70.1-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • leptonlib Ubuntu Pro 16.04 LTS

    Versions
    • 1.72-3
    • 1.72-3build1
    • 1.73-1
    • 1.73-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • leptonlib Ubuntu Pro 18.04 LTS

    Versions
    • 1.74.4-1
    • 1.74.4-2
    • 1.75.3-1
    • 1.75.3-2
    • 1.75.3-3
    • 1.75.3-3ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • leptonlib Ubuntu 20.04 LTS

    Versions
    • 1.78.0-2
    • 1.79.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • leptonlib Ubuntu 22.04 LTS

    Versions
    • 1.79.0-1.1
    • 1.82.0-3
    • 1.82.0-3build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • leptonlib Ubuntu 24.04 LTS

    Versions
    • 1.82.0-3build2
    • 1.82.0-3build3
    • 1.82.0-3build4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • leptonlib Ubuntu 26.10

    Versions
    • 1.86.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • leptonlib Ubuntu 26.04 LTS

    Versions
    • 1.84.1-4
    • 1.86.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →