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 h...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSleptonlib |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSleptonlib |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSleptonlib |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSleptonlib |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSleptonlib |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSleptonlib |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10leptonlib |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSleptonlib |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTSleptonlib |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:24.04:LTSleptonlib |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:26.04:LTSleptonlib |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org