Out-of-Bounds Array Access in media: imx-jpeg

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001456: media: imx-jpeg: fix a bug of accessing array out of bounds. Affects Kernel versions < 20c8b90430c5d6c4a3936eaa7c35aac670581487. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The media: imx-jpeg package is a component of the Linux Kernel, which is responsible for handling image compression and decompression on i.MX platforms. It provides support for the JPEG format and is utilized by various applications and devices. However, a vulnerability has been discovered in the package that allows for out-of-bounds array access.

Vulnerability Detail

The vulnerability in media: imx-jpeg arises from a bug that enables accessing arrays beyond their allocated bounds. This can lead to memory corruption, crashes, or even potential remote code execution. An attacker could exploit this vulnerability by crafting a malicious image file and tricking a user or system into processing it with the vulnerable component. The bug has been addressed in the Linux Kernel version v5.16.19 through commit 20c8b90430c5d6c4a3936eaa7c35aac670581487.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Conclusion

The media: imx-jpeg package in the Linux Kernel is vulnerable to out-of-bounds array access, which can have severe consequences such as memory corruption and potential remote code execution. It is crucial to update the Linux Kernel to version v5.16.19 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

media: imx-jpeg is a component of the Linux Kernel that handles image compression and decompression for i.MX platforms.

The vulnerability allows for out-of-bounds array access, which can lead to memory corruption, crashes, or potential remote code execution.

An attacker can exploit this vulnerability by crafting a malicious image file and tricking a user or system into processing it with the vulnerable component.

Yes, the vulnerability has been fixed in the Linux Kernel version v5.16.19 through commit 20c8b90430c5d6c4a3936eaa7c35aac670581487.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.16.19 or later. This can be done by obtaining the updated kernel source code from the official Linux Kernel repository and compiling it for the target system.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback