# CVE-2021-35091: Memory corruption in Snapdragon Connectivity, Snapdragon Mobile

> An out-of-bounds read in Qualcomm Snapdragon firmware allows attackers to read memory or cause a denial of service via improper typecasting during page fault handling.

- **Severity:** High 8.4 (`CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 14 Jun 2022
- **Updated:** 4 Aug 2024
- **Also known as:** 3008877, A-204905109, ASB-A-204905109, GHSA-54q7-86rf-qx6x

## What is CVE-2021-35091?

CVE-2021-35091 is a high-severity memory corruption vulnerability in Qualcomm Sd 8 Gen1 5g Firmware, published on 14 Jun 2022. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

Possible out of bounds read due to improper typecasting while handling page fault for global memory in Snapdragon Connectivity, Snapdragon Mobile

Weakness: CWE-704 (Incorrect Type Conversion or Cast)

## Which versions are affected by CVE-2021-35091?

It affects 6 products.


Products: Qualcomm Sd 8 Gen1 5g Firmware, Qualcomm Wcd9380 Firmware, Qualcomm Wcn6855 Firmware, Qualcomm Wcn6856 Firmware, Qualcomm Wsa8830 Firmware, Qualcomm Wsa8835 Firmware.

## How do I fix CVE-2021-35091?

Apply the vendor's patch.

## Is CVE-2021-35091 being exploited?

There is no known exploitation of CVE-2021-35091 in the wild and no public exploit code.

## Other vulnerabilities in Qualcomm Sd 8 Gen1 5g Firmware

- [CVE-2022-25723](https://insights.sbomify.com/CVE-2022-25723/): Use after free in Snapdragon Mobile (high 8.4)
- [CVE-2022-22077](https://insights.sbomify.com/CVE-2022-22077/): Use after free in Snapdragon Mobile (high 8.4)
- [CVE-2022-25693](https://insights.sbomify.com/CVE-2022-25693/): Use after free in Snapdragon Connectivity, Snapdragon Mobile (high 8.4)
- [CVE-2021-35110](https://insights.sbomify.com/CVE-2021-35110/): Memory corruption in Snapdragon Connectivity, Snapdragon Mobile (high 8.1)
- [CVE-2022-33217](https://insights.sbomify.com/CVE-2022-33217/): Memory corruption in Snapdragon Mobile (high 7.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2021-35091 and fix it if it is affected.

What it is: CVE-2021-35091 is a high-severity memory corruption vulnerability in Qualcomm Sd 8 Gen1 5g Firmware, published on 14 Jun 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2021-35091 in the wild and no public exploit code.

Affected product: Qualcomm Sd 8 Gen1 5g Firmware. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2021-35091/ (Markdown: https://insights.sbomify.com/CVE-2021-35091/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2021-35091
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2021-35091
- OSV: https://osv.dev/vulnerability/CVE-2021-35091

---
From sbomify Insights: https://insights.sbomify.com/CVE-2021-35091/
Summaries are generated and may contain mistakes; the official description above is the record.
