What is CVE-2026-137063?
CVE-2026-137063 is a medium-severity memory corruption vulnerability in Leptonica, published on 25 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-122
How severe is CVE-2026-137063?
CVE-2026-137063 scores 6.8 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.
- Attack vector
- Local
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- None
- Integrity
- None
- Availability
- High
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
Which versions are affected by CVE-2026-137063?
1 open source package ship an affected version, including danbloomberg/leptonica.
An affected version is only exploitable if your software calls l_byteaInitFromStream() or l_byteaCreate(). Many projects that include it are not exposed.
| Package | Affected | Fixed in |
|---|---|---|
danbloomberg/leptonica GitHubpkg:github/danbloomberg/leptonica | From 1.79.0 to 1.87.0 | None |
How do I fix CVE-2026-137063?
No fix has been published for CVE-2026-137063 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-137063 being exploited?
There is no known exploitation of CVE-2026-137063 in the wild and no public exploit code.
Sources
Also known as GHSA-4g5v-hgh8-49r5, UBUNTU-CVE-2026-137063.