CVE-2026-137063
Leptonica 1.79.0 through 1.87.0 Heap Buffer Overflow via l_byteaInitFromStream()
- Severity
- medium CVSS 6.8 (v4.0)
- Affects
- Leptonica
- Weakness
- CWE-122: Heap-based Buffer Overflow
- Published
- 25 November 2026 by VulnCheck
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.