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

CVE-2020-13435 is fixed in 8 products on 1 platform, first by lemon 3.31.1-4ubuntu0.1, released May 27, 2020. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2020-13435
- Priority: High
- CVSS: 8.8 (Moderate)
- EPSS: 0.0064
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 24, 2020

## 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 due to the use of 32-bit memory allocator interfaces (CVE-2019-5827)  * sqlite: dropping of shadow tables not restricted in defensive mode (CVE-2019-13750)  * sqlite: fts3: improve detection of corrupted records (CVE-2019-13751)  * sqlite: mishandling of certain SELECT statements with non-existent VIEW can lead to DoS (CVE-2019-19603)  * sqlite: NULL pointer dereference in sqlite3ExprCodeTarget() (CVE-2020-13435)  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.  Additional Changes:  For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.5 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | lemon RHEL 8 | 0:3.26.0-15.el8 | [RHSA-2021:4396](https://patchblox.com/security/data/fix/linux/rhsa-2021-4396.md) | Nov 9, 2021 |
| Linux | lemon Ubuntu 20.04 LTS (focal) | 3.31.1-4ubuntu0.1 | [lemon 3.31.1-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-lemon-3.31.1-4ubuntu0.1.md) | May 27, 2020 |
| Linux | lemon almalinux 8 | 3.26.0-15.el8 | [ALSA-2021:4396](https://patchblox.com/security/data/fix/linux/alsa-2021-4396.md) | Nov 9, 2021 |
| Linux | lemon ol 8 | 0:3.26.0-15.el8 | [ELSA-2021-4396](https://patchblox.com/security/data/fix/linux/elsa-2021-4396.md) | Nov 16, 2021 |
| Linux | libsqlite3-0 Ubuntu 20.04 LTS (focal) | 3.31.1-4ubuntu0.1 | [libsqlite3-0 3.31.1-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libsqlite3-0-3.31.1-4ubuntu0.1.md) | May 27, 2020 |
| Linux | libsqlite3-tcl Ubuntu 20.04 LTS (focal) | 3.31.1-4ubuntu0.1 | [libsqlite3-tcl 3.31.1-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libsqlite3-tcl-3.31.1-4ubuntu0.1.md) | May 27, 2020 |
| Linux | sqlite RHEL 8 | 0:3.26.0-15.el8 | [RHSA-2021:4396](https://patchblox.com/security/data/fix/linux/rhsa-2021-4396.md) | Nov 9, 2021 |
| Linux | sqlite almalinux 8 | 3.26.0-15.el8 | [ALSA-2021:4396](https://patchblox.com/security/data/fix/linux/alsa-2021-4396.md) | Nov 9, 2021 |
| Linux | sqlite ol 8 | 0:3.26.0-15.el8 | [ELSA-2021-4396](https://patchblox.com/security/data/fix/linux/elsa-2021-4396.md) | Nov 16, 2021 |
| Linux | sqlite rocky 8 | 0:3.26.0-15.el8 | [RLSA-2021:4396](https://patchblox.com/security/data/fix/linux/rlsa-2021-4396.md) | Nov 9, 2021 |
| Linux | sqlite-devel RHEL 8 | 0:3.26.0-15.el8 | [RHSA-2021:4396](https://patchblox.com/security/data/fix/linux/rhsa-2021-4396.md) | Nov 9, 2021 |
| Linux | sqlite-devel almalinux 8 | 3.26.0-15.el8 | [ALSA-2021:4396](https://patchblox.com/security/data/fix/linux/alsa-2021-4396.md) | Nov 9, 2021 |
| Linux | sqlite-devel ol 8 | 0:3.26.0-15.el8 | [ELSA-2021-4396](https://patchblox.com/security/data/fix/linux/elsa-2021-4396.md) | Nov 16, 2021 |
| Linux | sqlite-doc RHEL 8 | 0:3.26.0-15.el8 | [RHSA-2021:4396](https://patchblox.com/security/data/fix/linux/rhsa-2021-4396.md) | Nov 9, 2021 |
| Linux | sqlite-doc almalinux 8 | 3.26.0-15.el8 | [ALSA-2021:4396](https://patchblox.com/security/data/fix/linux/alsa-2021-4396.md) | Nov 9, 2021 |
| Linux | sqlite-doc ol 8 | 0:3.26.0-15.el8 | [ELSA-2021-4396](https://patchblox.com/security/data/fix/linux/elsa-2021-4396.md) | Nov 16, 2021 |
| Linux | sqlite-libs RHEL 8 | 0:3.26.0-15.el8 | [RHSA-2021:4396](https://patchblox.com/security/data/fix/linux/rhsa-2021-4396.md) | Nov 9, 2021 |
| Linux | sqlite-libs almalinux 8 | 3.26.0-15.el8 | [ALSA-2021:4396](https://patchblox.com/security/data/fix/linux/alsa-2021-4396.md) | Nov 9, 2021 |
| Linux | sqlite-libs ol 8 | 0:3.26.0-15.el8 | [ELSA-2021-4396](https://patchblox.com/security/data/fix/linux/elsa-2021-4396.md) | Nov 16, 2021 |
| Linux | sqlite3 Ubuntu 20.04 LTS (focal) | 3.31.1-4ubuntu0.1 | [sqlite3 3.31.1-4ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-sqlite3-3.31.1-4ubuntu0.1.md) | May 27, 2020 |

---

Data as of 2026-11-07T18:46:35Z 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.
