
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-40961 is a stack-buffer overflow vulnerability discovered in Firefox for Android. The vulnerability was identified by the Mozilla Fuzzing Team and fixed in Firefox version 105. During startup, a graphics driver with an unexpected name could trigger a stack-buffer overflow, potentially leading to an exploitable crash. This security issue specifically affects Firefox for Android, while other operating systems remain unaffected (Mozilla Advisory, NVD).
The vulnerability occurs in the SplitDriverVersion function when processing graphics driver version strings. The function expects an input string with four dot-separated numbers, but on Android devices, it typically receives only one or two numbers. When mOsVersion is formatted like "7.0", the function sets variables 'a' and 'b' to "7" and "0" respectively, but leaves 'c' and 'd' uninitialized. This leads to a buffer overflow during the atoi operation due to missing null-termination (Mozilla Bug). The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (NVD).
The vulnerability could result in a potentially exploitable crash of Firefox for Android during the startup process. While the impact is limited to Android devices, it represents a significant reliability issue as it affects the browser's initialization phase (Mozilla Advisory).
The vulnerability was fixed in Firefox version 105 by modifying the SplitDriverVersion function to properly null-terminate unused output strings. Users should update to Firefox 105 or later to receive the security fix (Mozilla Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."