JLSEC-2026-2354: Leptonica 1.79.0 through 1.87.0 contains a heap-based buffer overflow vulnerability in...

Published Dec 3, 2026
·
Updated

Leptonica 1.79.0 through 1.87.0 contains a heap-based buffer overflow vulnerability in lbyteaInitFromStream() 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 lbyteaCreate() to allocate a 201-byte buffer before memcpy copies the full stream size, crashing the application.

Affected Software

1 affected component
julia/leptonica_jll>=1.79.0+0

Event History

Dec 3, 2026
Advisory Published
via OSV·04:31 PM
Data Sourced
via OSV·04:31 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What input and access would an attacker need to trigger this issue?

An attacker needs to cause the application to process an oversized file through l_byteaInitFromStream(). The supplied file must be larger than 1,000,000,000 bytes; no attacker privileges are required, but user interaction is required according to the provided severity vector.

2

What is the practical impact of successful exploitation?

The oversized input causes l_byteaCreate() to allocate a 201-byte buffer before memcpy copies the full stream size past that buffer. This can crash the application, resulting in a denial of service.

3

Which Leptonica versions are affected?

Leptonica versions 1.79.0 through 1.87.0 are identified as affected. The listed software package is julia/leptonica_jll.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203