๐Ÿ” CVE Alert

CVE-2026-137063

MEDIUM 5.5

Leptonica 1.79.0 through 1.87.0 Heap Buffer Overflow via l_byteaInitFromStream()

CVSS Score
5.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-122
Vendor leptonica
Product leptonica
Published Nov 25, 2026
Stay Ahead of the Next One

Get instant alerts for leptonica leptonica

Be the first to know when new medium vulnerabilities affecting leptonica leptonica are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

Leptonica / Leptonica
1.79.0 โ‰ค 1.87.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/DanBloomberg/leptonica/commit/c493a776e6bc6cfb1d8d15152a0b74f3d15b33fd github.com: https://github.com/DanBloomberg/leptonica/blob/1.87.0/src/bytearray.c#L177-L197 vulncheck.com: https://www.vulncheck.com/advisories/leptonica-1.79.0-through-1.87.0-heap-buffer-overflow-via-l-byteainitfromstream

Credits

Deus Rex