Code execution via unchecked AVI array size
Published Oct 6, 2021 · Updated Aug 3, 2024
Memory corruption in the UNISOC Video Driver on Android 10 through 12 allows attackers to execute code via a malformed AVI file. The kernel video driver's AVI extraction path uses an array without checking its size, corrupting memory when malformed file data exceeds expected bounds. Exploitation requires the device to process attacker-supplied AVI content; successful corruption can crash video playback or execute code with the driver's privileges.
Summary
What happened
Memory corruption in the UNISOC Video Driver on Android 10 through 12 allows attackers to execute code via a malformed AVI file. The kernel video driver's AVI extraction path uses an array without checking its size, corrupting memory when malformed file data exceeds expected bounds. Exploitation requires the device to process attacker-supplied AVI content; successful corruption can crash video playback or execute code with the driver's privileges.
The record
- CVE
- CVE-2021-0636
- Published
- Oct 6, 2021
- Updated
- Aug 3, 2024
- Vendor
- UNISOC
- Product
- UNISOC Video Driver
- Classifications
- CWE-119, T1204.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 6, 2021CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record 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.
- Affected versionversion=Android SoC
What conditions does exploitation require?
What is affected?
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.
Weakness, pattern, technique
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