CVE-2026-137063
Received Received - Intake

Heap-based Buffer Overflow in Leptonica

Vulnerability report for CVE-2026-137063, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-25

Last updated on: 2026-11-25

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-25
Last Modified
2026-11-25
Generated
2026-11-25
AI Q&A
2026-11-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Leptonica Leptonica From 1.79.0 (inc) to 1.87.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Leptonica 1.79.0 through 1.87.0 has a heap-based buffer overflow in l_byteaInitFromStream(). Attackers can exploit this by providing a file larger than 1,000,000,000 bytes. The function l_byteaCreate() allocates a 201-byte buffer, but memcpy copies the full stream size, causing the application to crash due to writing past the heap buffer.

Impact Analysis

This vulnerability can cause application crashes, leading to denial-of-service conditions. If exploited, it may allow attackers to execute arbitrary code on the affected system, potentially leading to unauthorized access or data manipulation.

Compliance Impact

This vulnerability could lead to data breaches or unauthorized access, violating GDPR's integrity and confidentiality requirements. For HIPAA, it may compromise protected health information integrity, leading to compliance violations and penalties.

Mitigation Strategies

Update Leptonica to a version beyond 1.87.0 where the buffer overflow issue has been fixed. Avoid processing files larger than 1,000,000,000 bytes with vulnerable versions.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-137063. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...