Out-of-bounds read vulnerability in the pixReadMemJp2kCore() function in Leptonica, located in jp2kio.c. The function retrieves the output dimensions...
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 |
< 1.86.0-1ubuntu0.26.10.1→ 1.86.0-1ubuntu0.26.10.1 |
1.86.0-1ubuntu0.26.10.1 |
| Ubuntu:26.04:LTSleptonlib |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTSleptonlib |
< 1.82.0-3ubuntu0.22.04.1~esm1→ 1.82.0-3ubuntu0.22.04.1~esm1 |
1.82.0-3ubuntu0.22.04.1~esm1 |
| Ubuntu:Pro:24.04:LTSleptonlib |
< 1.82.0-3ubuntu0.24.04.1~esm1→ 1.82.0-3ubuntu0.24.04.1~esm1 |
1.82.0-3ubuntu0.24.04.1~esm1 |
| Ubuntu:Pro:26.04:LTSleptonlib |
< 1.86.0-1ubuntu0.26.04.1~esm1→ 1.86.0-1ubuntu0.26.04.1~esm1 |
1.86.0-1ubuntu0.26.04.1~esm1 |
Original description The description as published by the source.
Out-of-bounds read vulnerability in the pixReadMemJp2kCore() function in Leptonica, located in jp2kio.c. The function retrieves the output dimensions only for component 0 and uses a common index to iterate through the buffers of all components. If the remaining components have smaller dimensions, the traversal exceeds the bounds of their sample buffers, which are allocated by OpenJPEG. When processing a specially crafted JPEG 2000 image, data read from adjacent dynamic memory may be incorporated into the pixels of the decoded image and result in information disclosure to anyone who can access the output.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report incibe.es