# CVE-2020-35527: Memory corruption in sqlite

> An out-of-bounds access in SQLite allows attackers to cause denial of service or potentially execute code via crafted ALTER TABLE commands on views.

- **Severity:** Critical 9.8 (`CVSS:3.1/AV:N/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:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 1 Sep 2022
- **Updated:** 14 Oct 2026
- **Also known as:** BIT-sqlite-2020-35527, CLSA-2022-1667513276, CLSA-2022-1667513366, DEBIAN-CVE-2020-35527, GHSA-c76x-fv7r-4xjr, UBUNTU-CVE-2020-35527

## What is CVE-2020-35527?

CVE-2020-35527 is a critical memory corruption vulnerability in Netapp Ontap Select Deploy Administration Utility, published on 1 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that have a nested FROM clause.

Weakness: CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer)

## Which versions are affected by CVE-2020-35527?

1 open source package ship an affected version, including sqlite. It affects 2 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `sqlite` | Bitnami | From 3.31.1 | 3.31.2 |

Products: Netapp Ontap Select Deploy Administration Utility, Sqlite Sqlite.

## How do I fix CVE-2020-35527?

Upgrade sqlite to 3.31.2 or later.

## Is CVE-2020-35527 being exploited?

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

## Other vulnerabilities in Netapp Ontap Select Deploy Administration Utility

- [CVE-2020-11656](https://insights.sbomify.com/CVE-2020-11656/): Use after free in n/a (critical 9.8)
- [CVE-2019-5509](https://insights.sbomify.com/CVE-2019-5509/): Code injection in ONTAP Select Deploy administration utility (critical 9.8)
- [CVE-2019-5504](https://insights.sbomify.com/CVE-2019-5504/): Missing authorization in ONTAP Select Deploy administration utility (critical 9.8)
- [CVE-2019-5505](https://insights.sbomify.com/CVE-2019-5505/): Information disclosure in ONTAP Select Deploy administration utility (critical 9.8)
- [CVE-2024-21989](https://insights.sbomify.com/CVE-2024-21989/): Privilege Escalation Vulnerability in ONTAP Select Deploy administration utility (high 8.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2020-35527 and fix it if it is affected.

What it is: CVE-2020-35527 is a critical memory corruption vulnerability in Netapp Ontap Select Deploy Administration Utility, published on 1 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2020-35527 in the wild and no public exploit code.

Affected packages and fixed versions:
- sqlite (Bitnami): affected from 3.31.1; fixed in 3.31.2

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-2020-35527/ (Markdown: https://insights.sbomify.com/CVE-2020-35527/index.md)
```

## Sources

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

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