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

CVE-2020-6405 is fixed in 10 products on 1 platform, first by chromium-browser 80.0.3987.87-0ubuntu0.18.04.1, released June 3, 2020. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2020-6405
- Priority: Routine
- CVSS: 6.5 (Moderate)
- EPSS: 0.0263
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 11, 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: Use-after-free in window function leading to remote code execution (CVE-2019-5018)  * sqlite: Division by zero in whereLoopAddBtreeIndex in sqlite3.c (CVE-2019-16168)  * sqlite: selectExpander in select.c proceeds with WITH stack unwinding even after a parsing error (CVE-2019-20218)  * sqlite: Out-of-bounds read in SELECT with ON/USING clause (CVE-2020-6405)  * sqlite: NULL pointer dereference and segmentation fault because of generated column optimizations (CVE-2020-9327)  * sqlite: Use-after-free in fts3EvalNextRow in ext/fts3/fts3.c (CVE-2020-13630)  * sqlite: Virtual table can be renamed into the name of one of its shadow tables (CVE-2020-13631)  * sqlite: NULL pointer dereference in ext/fts3/fts3_snippet.c via a crafted matchinfo() query (CVE-2020-13632)  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.3 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | chromium-browser Ubuntu 18.04.6 LTS (bionic) | 80.0.3987.87-0ubuntu0.18.04.1 | [chromium-browser 80.0.3987.87-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-chromium-browser-80.0.3987.87-0ubuntu0.18.04.1.md) | Jun 3, 2020 |
| Linux | chromium-browser-l10n Ubuntu 18.04.6 LTS (bionic) | 80.0.3987.87-0ubuntu0.18.04.1 | [chromium-browser-l10n 80.0.3987.87-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-chromium-browser-l10n-80.0.3987.87-0ubuntu0.18.04.1.md) | Jun 3, 2020 |
| Linux | chromium-chromedriver Ubuntu 18.04.6 LTS (bionic) | 80.0.3987.87-0ubuntu0.18.04.1 | [chromium-chromedriver 80.0.3987.87-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-chromium-chromedriver-80.0.3987.87-0ubuntu0.18.04.1.md) | Jun 3, 2020 |
| Linux | chromium-codecs-ffmpeg Ubuntu 18.04.6 LTS (bionic) | 80.0.3987.87-0ubuntu0.18.04.1 | [chromium-codecs-ffmpeg 80.0.3987.87-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-chromium-codecs-ffmpeg-80.0.3987.87-0ubuntu0.18.04.1.md) | Jun 3, 2020 |
| Linux | chromium-codecs-ffmpeg-extra Ubuntu 18.04.6 LTS (bionic) | 80.0.3987.87-0ubuntu0.18.04.1 | [chromium-codecs-ffmpeg-extra 80.0.3987.87-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-chromium-codecs-ffmpeg-extra-80.0.3987.87-0ubuntu0.18.04.1.md) | Jun 3, 2020 |
| Linux | lemon RHEL 8 | 0:3.26.0-11.el8 | [RHSA-2020:4442](https://patchblox.com/security/data/fix/linux/rhsa-2020-4442.md) | Nov 4, 2020 |
| Linux | lemon ol 8 | 0:3.26.0-11.el8 | [ELSA-2020-4442](https://patchblox.com/security/data/fix/linux/elsa-2020-4442.md) | Nov 10, 2020 |
| Linux | sqlite RHEL 8 | 0:3.26.0-11.el8 | [RHSA-2020:4442](https://patchblox.com/security/data/fix/linux/rhsa-2020-4442.md) | Nov 4, 2020 |
| Linux | sqlite ol 8 | 0:3.26.0-11.el8 | [ELSA-2020-4442](https://patchblox.com/security/data/fix/linux/elsa-2020-4442.md) | Nov 10, 2020 |
| Linux | sqlite-devel RHEL 8 | 0:3.26.0-11.el8 | [RHSA-2020:4442](https://patchblox.com/security/data/fix/linux/rhsa-2020-4442.md) | Nov 4, 2020 |
| Linux | sqlite-devel ol 8 | 0:3.26.0-11.el8 | [ELSA-2020-4442](https://patchblox.com/security/data/fix/linux/elsa-2020-4442.md) | Nov 10, 2020 |
| Linux | sqlite-doc RHEL 8 | 0:3.26.0-11.el8 | [RHSA-2020:4442](https://patchblox.com/security/data/fix/linux/rhsa-2020-4442.md) | Nov 4, 2020 |
| Linux | sqlite-doc ol 8 | 0:3.26.0-11.el8 | [ELSA-2020-4442](https://patchblox.com/security/data/fix/linux/elsa-2020-4442.md) | Nov 10, 2020 |
| Linux | sqlite-libs RHEL 8 | 0:3.26.0-11.el8 | [RHSA-2020:4442](https://patchblox.com/security/data/fix/linux/rhsa-2020-4442.md) | Nov 4, 2020 |
| Linux | sqlite-libs ol 8 | 0:3.26.0-11.el8 | [ELSA-2020-4442](https://patchblox.com/security/data/fix/linux/elsa-2020-4442.md) | Nov 10, 2020 |

---

Data as of 2026-11-08T06:59:42Z 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.
