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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 25 Nov 2026 22:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Leptonica 1.79.0 through 1.87.0 Heap Buffer Overflow via l_byteaInitFromStream() | |
| First Time appeared |
Leptonica
Leptonica leptonica |
|
| Weaknesses | CWE-122 | |
| CPEs | cpe:2.3:a:leptonica:leptonica:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Leptonica
Leptonica leptonica |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-11-25T19:33:13.752Z
Reserved: 2026-11-25T17:56:23.564Z
Link: CVE-2026-137063
No data.
Status : Received
Published: 2026-11-25T20:18:40.807
Modified: 2026-11-25T20:18:40.807
Link: CVE-2026-137063
No data.
OpenCVE Enrichment
No data.
Weaknesses