CVE-2022-50182CWE-125

CVE-2022-50182

High · published June 18, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
16.6
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

media: imx-jpeg: Align upwards buffer size

The hardware can support any image size WxH,

with arbitrary W (image width) and H (image height) dimensions.

Align upwards buffer size for both encoder and decoder.

and leave the picture resolution unchanged.

For decoder, the risk of memory out of bounds can be avoided.

For both encoder and decoder, the driver will lift the limitation of

resolution alignment.

For example, the decoder can support jpeg whose resolution is 227x149

the encoder can support nv12 1080P, won't change it to 1920x1072.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00259 · 16.6th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2025-06-18T15:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 5.13, < 5.15.615.15.61
linux/linux_kernel≥ 5.16, < 5.18.185.18.18
linux/linux_kernel≥ 5.19, < 5.19.25.19.2
References (4)
EPSS history
Timeline
  • 18 JUN 11:03Z
    media: imx-jpeg: Align upwards buffer size
    cvelistv5