CVE-2026-137063

Leptonica 1.79.0 through 1.87.0 Heap Buffer Overflow via l_byteaInitFromStream()

Published Nov 25, 2026 CVSS 4.0 · 6.8 Medium EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 25, 2026, 7:33 PM
Reserved
Nov 25, 2026, 5:56 PM
Status
Received
Published
Nov 25, 2026, 8:18 PM
Modified
Nov 25, 2026, 8:18 PM