
Leptonica 1.87.0 Patch Fixes Heap Overflow in Image Processing Library
A medium-severity heap buffer overflow vulnerability, CVE-2026-137063, has been identified in Leptonica versions 1.79.0 through 1.87.0. The flaw in the l_byteaInitFromStream() function allows attackers to crash applications by supplying files larger than 1 billion bytes, which causes the system to allocate an insufficient 201-byte buffer before copying the full stream. A patch has been released to address the issue.