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

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.43% (percentile 29, 2026-11-28)
- **CWE:** CWE-125
- **Published:** 2026-11-18T09:58:14.836Z
- **Modified:** 2026-11-23T15:44:04.267Z

## Who should check

- Anyone running Dan Bloomberg Leptonica Leptonica 1.87.0 (commit 13275a2), in builds with JPEG 2000 support enabled via HAVE\_LIBJP2K / OpenJPEG.

## 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.

## Affected and fixed versions

- Dan Bloomberg Leptonica: Leptonica 1.87.0 (commit 13275a2), in builds with JPEG 2000 support enabled via HAVE\_LIBJP2K / OpenJPEG. (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-112213. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-112213.md
Affected: Dan Bloomberg Leptonica Leptonica 1.87.0 (commit 13275a2), in builds with JPEG 2000 support enabled via HAVE_LIBJP2K / OpenJPEG.
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Dan Bloomberg Leptonica: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-112213 being exploited?

There is no confirmed exploitation: CVE-2026-112213 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-112213?

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-112213?

Dan Bloomberg Leptonica Leptonica 1.87.0 (commit 13275a2), in builds with JPEG 2000 support enabled via HAVE\_LIBJP2K / OpenJPEG..

### Is there a fix for CVE-2026-112213?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-112213?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://www.incibe.es/en/incibe-cert/notices/aviso/reading-limits-dan-bloomberg-leptonica>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-112213>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-112213> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-112213>
