CVE-2022-50182

Kernel memory disclosure via undersized JPEG buffers

Published Jun 18, 2025 · Updated Aug 5, 2026

Out-of-bounds read in the imx-jpeg driver in Linux 5.13 through 5.19.1 on affected branches allows local users to read kernel memory. The mxc_jpeg_try_fmt path rounded buffer dimensions downward while the hardware processed the unchanged image resolution, leaving decoder storage smaller than the aligned processing dimensions. Reachability requires local access to an NXP i.MX8 JPEG device and a kernel containing the driver; the bounded consequence is disclosure of kernel memory during decoding.

CVSS severity7.8
High
EPSS probability0.24%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Out-of-bounds read in the imx-jpeg driver in Linux 5.13 through 5.19.1 on affected branches allows local users to read kernel memory. The mxc_jpeg_try_fmt path rounded buffer dimensions downward while the hardware processed the unchanged image resolution, leaving decoder storage smaller than the aligned processing dimensions. Reachability requires local access to an NXP i.MX8 JPEG device and a kernel containing the driver; the bounded consequence is disclosure of kernel memory during decoding.

The record

CVE
CVE-2022-50182
Published
Jun 18, 2025
Updated
Aug 5, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
CWE-125, T1005
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Jun 18, 2025CVE publishedPublication date reported by the CVE source.
  2. Aug 5, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=2db16c6ed72ce644d5639b3ed15e5817442db4ba <447795ffb17cd60bb544e0abfc9399e180a14a2f
  2. Affected versionversion=2db16c6ed72ce644d5639b3ed15e5817442db4ba <73d1836ed7911953182b787745cb8c5857a2661c
  3. Affected versionversion=2db16c6ed72ce644d5639b3ed15e5817442db4ba <9ae2d729de6350c53a06c57782751d84eb2c08d9
  4. Affected versionversion=2db16c6ed72ce644d5639b3ed15e5817442db4ba <9e7aa76cdb02923ee23a0ddd48f38bdc3512f92b
  5. Affected versionversion=5.13

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=2db16c6ed72ce644d5639b3ed15e5817442db4ba <447795ffb17cd60bb544e0abfc9399e180a14a2f; version=2db16c6ed72ce644d5639b3ed15e5817442db4ba <73d1836ed7911953182b787745cb8c5857a2661c; version=2db16c6ed72ce644d5639b3ed15e5817442db4ba <9ae2d729de6350c53a06c57782751d84eb2c08d9; version=2db16c6ed72ce644d5639b3ed15e5817442db4ba <9e7aa76cdb02923ee23a0ddd48f38bdc3512f92b; version=5.13

Published CVSS scores

7.1NIST NVDCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
7.8kernel.orgCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 9, 2026Sep 15, 2026
Latest reporting daySep 15, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-125Out-of-bounds Read
T1005Data from Local System

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo