Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/DanBloomberg/leptonica/blob/1.87.0/src/bytearray.c#L177-L197
- https://github.com/DanBloomberg/leptonica/commit/c493a776e6bc6cfb1d8d15152a0b74f
- https://www.vulncheck.com/advisories/leptonica-1.79.0-through-1.87.0-heap-buffer
FAQ
What is CVE-2026-137063?
CVE-2026-137063 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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...
How severe is CVE-2026-137063?
CVE-2026-137063 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-137063?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.