1. Home
  2. Vulnerabilities
  3. CVE-2026-137063

CVE-2026-137063

Leptonica 1.79.0 through 1.87.0 Heap Buffer Overflow via l_byteaInitFromStream()

Published 25 Nov 2026 · modified 4 Dec 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 26/100

Summary

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.

Affected products and versions

Leptonica (1 line(s))
Leptonica
ProductVersionsFixed inSource
Leptonica from 1.79.0 (included) to 1.87.0 (included) — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-122 · Corruption mémoire

How this data is obtained and calculated