# CVE-2020-35525: lemon: SQLite is a C library that implements an SQL database engine

CVE-2020-35525 is fixed in 8 products on 1 platform, first by lemon 3.22.0-1ubuntu0.6, released September 1, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2020-35525
- Priority: High
- CVSS: 8.1 (Moderate)
- EPSS: 0.0163
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 1, 2022

## Description

SQLite is a C library that implements an SQL database engine. A large subset of SQL92 is supported. A complete database is stored in a single disk file. The API is designed for convenience and ease of use. Applications that link against SQLite can enjoy the power and flexibility of an SQL database without the administrative hassles of supporting a separate database server.  Security Fix(es):  * sqlite: Out of bounds access during table rename (CVE-2020-35527)  * sqlite: Null pointer derreference in src/select.c (CVE-2020-35525)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | lemon RHEL 8 | 0:3.26.0-16.el8_6 | [RHSA-2022:7108](https://patchblox.com/security/data/fix/linux/rhsa-2022-7108.md) | Oct 25, 2022 |
| Linux | lemon Ubuntu 18.04.6 LTS (bionic) | 3.22.0-1ubuntu0.6 | [lemon 3.22.0-1ubuntu0.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-lemon-3.22.0-1ubuntu0.6.md) | Sep 1, 2022 |
| Linux | lemon Ubuntu 20.04 LTS (focal) | 3.31.1-4ubuntu0.4 | [lemon 3.31.1-4ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-lemon-3.31.1-4ubuntu0.4.md) | Sep 1, 2022 |
| Linux | lemon almalinux 8 | 3.26.0-16.el8_6 | [ALSA-2022:7108](https://patchblox.com/security/data/fix/linux/alsa-2022-7108.md) | Oct 25, 2022 |
| Linux | lemon ol 8 | 0:3.26.0-16.el8_6 | [ELSA-2022-7108](https://patchblox.com/security/data/fix/linux/elsa-2022-7108.md) | Oct 26, 2022 |
| Linux | libsqlite3-0 Ubuntu 18.04.6 LTS (bionic) | 3.22.0-1ubuntu0.6 | [libsqlite3-0 3.22.0-1ubuntu0.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libsqlite3-0-3.22.0-1ubuntu0.6.md) | Sep 1, 2022 |
| Linux | libsqlite3-0 Ubuntu 20.04 LTS (focal) | 3.31.1-4ubuntu0.4 | [libsqlite3-0 3.31.1-4ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libsqlite3-0-3.31.1-4ubuntu0.4.md) | Sep 1, 2022 |
| Linux | libsqlite3-tcl Ubuntu 18.04.6 LTS (bionic) | 3.22.0-1ubuntu0.6 | [libsqlite3-tcl 3.22.0-1ubuntu0.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libsqlite3-tcl-3.22.0-1ubuntu0.6.md) | Sep 1, 2022 |
| Linux | libsqlite3-tcl Ubuntu 20.04 LTS (focal) | 3.31.1-4ubuntu0.4 | [libsqlite3-tcl 3.31.1-4ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libsqlite3-tcl-3.31.1-4ubuntu0.4.md) | Sep 1, 2022 |
| Linux | sqlite RHEL 8 | 0:3.26.0-16.el8_6 | [RHSA-2022:7108](https://patchblox.com/security/data/fix/linux/rhsa-2022-7108.md) | Oct 25, 2022 |
| Linux | sqlite almalinux 8 | 3.26.0-16.el8_6 | [ALSA-2022:7108](https://patchblox.com/security/data/fix/linux/alsa-2022-7108.md) | Oct 25, 2022 |
| Linux | sqlite ol 8 | 0:3.26.0-16.el8_6 | [ELSA-2022-7108](https://patchblox.com/security/data/fix/linux/elsa-2022-7108.md) | Oct 26, 2022 |
| Linux | sqlite rocky 8 | 0:3.26.0-16.el8_6 | [RLSA-2022:7108](https://patchblox.com/security/data/fix/linux/rlsa-2022-7108.md) | Oct 25, 2022 |
| Linux | sqlite-devel RHEL 8 | 0:3.26.0-16.el8_6 | [RHSA-2022:7108](https://patchblox.com/security/data/fix/linux/rhsa-2022-7108.md) | Oct 25, 2022 |
| Linux | sqlite-devel almalinux 8 | 3.26.0-16.el8_6 | [ALSA-2022:7108](https://patchblox.com/security/data/fix/linux/alsa-2022-7108.md) | Oct 25, 2022 |
| Linux | sqlite-devel ol 8 | 0:3.26.0-16.el8_6 | [ELSA-2022-7108](https://patchblox.com/security/data/fix/linux/elsa-2022-7108.md) | Oct 26, 2022 |
| Linux | sqlite-doc RHEL 8 | 0:3.26.0-16.el8_6 | [RHSA-2022:7108](https://patchblox.com/security/data/fix/linux/rhsa-2022-7108.md) | Oct 25, 2022 |
| Linux | sqlite-doc almalinux 8 | 3.26.0-16.el8_6 | [ALSA-2022:7108](https://patchblox.com/security/data/fix/linux/alsa-2022-7108.md) | Oct 25, 2022 |
| Linux | sqlite-doc ol 8 | 0:3.26.0-16.el8_6 | [ELSA-2022-7108](https://patchblox.com/security/data/fix/linux/elsa-2022-7108.md) | Oct 26, 2022 |
| Linux | sqlite-libs RHEL 8 | 0:3.26.0-16.el8_6 | [RHSA-2022:7108](https://patchblox.com/security/data/fix/linux/rhsa-2022-7108.md) | Oct 25, 2022 |
| Linux | sqlite-libs almalinux 8 | 3.26.0-16.el8_6 | [ALSA-2022:7108](https://patchblox.com/security/data/fix/linux/alsa-2022-7108.md) | Oct 25, 2022 |
| Linux | sqlite-libs ol 8 | 0:3.26.0-16.el8_6 | [ELSA-2022-7108](https://patchblox.com/security/data/fix/linux/elsa-2022-7108.md) | Oct 26, 2022 |
| Linux | sqlite3 Debian 12.15 (bookworm) | 3.32.0-1 | [DEBIAN-CVE-2020-35525](https://patchblox.com/security/data/fix/linux/debian-cve-2020-35525.md) | Sep 1, 2022 |
| Linux | sqlite3 Debian 13.5 (trixie) | 3.32.0-1 | [DEBIAN-CVE-2020-35525](https://patchblox.com/security/data/fix/linux/debian-cve-2020-35525.md) | Sep 1, 2022 |
| Linux | sqlite3 Debian 14 | 3.32.0-1 | [DEBIAN-CVE-2020-35525](https://patchblox.com/security/data/fix/linux/debian-cve-2020-35525.md) | Sep 1, 2022 |
| Linux | sqlite3 Ubuntu 18.04.6 LTS (bionic) | 3.22.0-1ubuntu0.6 | [sqlite3 3.22.0-1ubuntu0.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-sqlite3-3.22.0-1ubuntu0.6.md) | Sep 1, 2022 |
| Linux | sqlite3 Ubuntu 20.04 LTS (focal) | 3.31.1-4ubuntu0.4 | [sqlite3 3.31.1-4ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-sqlite3-3.31.1-4ubuntu0.4.md) | Sep 1, 2022 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
