← VULNERABILITIES

CVE-2026-137063

Leptonica 1.79.0 through 1.87.0 Heap Buffer Overflow via l_byteaInitFromStream()

Medium · 6.8
CVSS
6.8
EPSS
0.23% (p9)
Published
2026-11-25
Age
3d old
Modified
2026-11-26
Product
Leptonica Leptonica

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

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.

Sources

  • NVD · first seen 3d ago · NVD terms of use
  • OSV · first seen 3d ago · CC-BY 4.0
  • CVE List · first seen 3d ago · CVE Terms of Use

References

JSON