CVE-2022-50182
Severity CVSS v4.0:
Pending analysis
Type:
CWE-125
Out-of-bounds Read
Publication date:
18/06/2025
Last modified:
19/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
media: imx-jpeg: Align upwards buffer size<br />
<br />
The hardware can support any image size WxH,<br />
with arbitrary W (image width) and H (image height) dimensions.<br />
<br />
Align upwards buffer size for both encoder and decoder.<br />
and leave the picture resolution unchanged.<br />
<br />
For decoder, the risk of memory out of bounds can be avoided.<br />
For both encoder and decoder, the driver will lift the limitation of<br />
resolution alignment.<br />
<br />
For example, the decoder can support jpeg whose resolution is 227x149<br />
the encoder can support nv12 1080P, won&#39;t change it to 1920x1072.
Impact
Base Score 3.x
7.10
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.13 (including) | 5.15.61 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 5.18.18 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.19 (including) | 5.19.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



