CVE-2022-20059
NixOS vulnerability analysis and mitigation

Overview

In preloader (usb), there is a possible out of bounds write vulnerability due to a missing bounds check in MediaTek chipsets. This vulnerability was assigned CVE-2022-20059 and was disclosed in March 2022. The vulnerability affects multiple MediaTek chipset models including MT6761, MT6762, MT6765, MT6768, MT6771, MT6779, MT6781, MT6785, MT6833, MT6853, and several others running Android versions 10.0, 11.0, and 12.0 (MediaTek Bulletin).

Technical details

The vulnerability is classified as a CWE-787 Out-of-bounds Write issue with a Medium severity rating. The vulnerability exists in the preloader USB component where a missing bounds check can lead to an out-of-bounds write condition. The vulnerability requires physical access to the device and user interaction for successful exploitation (MediaTek Bulletin).

Impact

If exploited, this vulnerability could lead to local escalation of privilege. The attacker would need physical access to the device, but no additional execution privileges would be required. The vulnerability requires user interaction to be exploited (MediaTek Bulletin).

Mitigation and workarounds

MediaTek has released security patches to address this vulnerability. Device OEMs were notified of the issue and corresponding security patches at least two months before the public disclosure. Users should ensure their devices are updated with the latest security patches (MediaTek Bulletin).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20806MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20805MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20804MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20803MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management