CVE-2026-137063
6.8medium
Leptonica 1.79.0 through 1.87.0 Heap Buffer Overflow via l_byteaInitFromStream()
- Severity
- 6.8medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.23% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
Leptonica 1.79.0 through 1.87.0 contains a heap-based buffer overflow vulnerability in l_byteaInitFromStream() that allows attackers to write past a heap buffer by supplying oversized input. Attackers can provide a file larger than 1,000,000,000 bytes, causing l_byteaCreate() to allocate a 201-byte buffer before memcpy copies the full stream size, crashing the application.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Leptonica Leptonica | from 1.79.0 up to 1.87.0 | CVE List |
All scores
| VulnCheck | 6.8medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-137063 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-137063 changed 2026-11-30 | Public domain |