CVE-2020-35527
In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that...
In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that have a nested FROM clause.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that have a nested FROM clause.
- Record
CVE-2020-35527- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that have a nested FROM clause.
- Record
CVE-2020-35527- Weakness
- CWE-119
- Updated
- 2026-11-02
EUVDEUVD-2020-23194 No score
In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that have a nested FROM clause.
- Record
EUVD-2020-23194- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-c76x-fv7r-4xjr
9.8
In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that...
In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that have a nested FROM clause.
- Record
GHSA-c76x-fv7r-4xjr- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSV
9.8
In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that have a nested FROM clause.
- Record
CVE-2020-35527- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-35527
9.8
In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that have a nested FROM clause.
- Record
DEBIAN-CVE-2020-35527- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 8 moreShow less
OSVRHSA-2022:7108
8.1
Red Hat Security Advisory: sqlite security update
- Record
RHSA-2022:7108- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRLSA-2022:7108
8.1
Moderate: sqlite security update
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.
- Record
RLSA-2022:7108- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-35527
9.8
In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that have a nested FROM clause.
- Record
UBUNTU-CVE-2020-35527- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVALSA-2022:7108 No score
Moderate: sqlite security update
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.
- Record
ALSA-2022:7108- Updated
- 2026-11-02
OSVBIT-sqlite-2020-35527 No score
In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that have a nested FROM clause.
- Record
BIT-sqlite-2020-35527- Updated
- 2026-11-02
OSVCLSA-2022-1667513276 No score
sqlite: Fix of CVE-2020-35527
- CVE-2020-35527: fix a problem with ALTER TABLE for views that have a nested FROM clause.
- Record
CLSA-2022-1667513276- Updated
- 2026-11-02
OSVCLSA-2022-1667513366 No score
sqlite: Fix of CVE-2020-35527
- CVE-2020-35527: fix a problem with ALTER TABLE for views that have a nested FROM clause.
- Record
CLSA-2022-1667513366- Updated
- 2026-11-02
OSVUSN-5615-1 No score
sqlite3 vulnerabilities
It was discovered that SQLite incorrectly handled INTERSEC query processing. An attacker could use this issue to cause SQLite to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2020-35525)
It was discovered that SQLite incorrectly handled ALTER TABLE for views that have a nested FROM clause. An attacker could use this issue to cause SQLite to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue was only addressed in Ubuntu 20.04 LTS. (CVE-2020-35527)
It was discovered that SQLite incorrectly handled embedded null characters when tokenizing certain unicode strings. This issue could result in incorrect results. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20223)
- Record
USN-5615-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
lemonAlmaLinux:8 From an advisory covering 2 CVEs |
before 3.26.0-16.el8_6 | 3.26.0-16.el8_6 |
sqliteAlmaLinux:8 From an advisory covering 2 CVEs |
before 3.26.0-16.el8_6 | 3.26.0-16.el8_6 |
sqlite-develAlmaLinux:8 From an advisory covering 2 CVEs |
before 3.26.0-16.el8_6 | 3.26.0-16.el8_6 |
sqlite-docAlmaLinux:8 From an advisory covering 2 CVEs |
before 3.26.0-16.el8_6 | 3.26.0-16.el8_6 |
sqlite-libsAlmaLinux:8 From an advisory covering 2 CVEs |
before 3.26.0-16.el8_6 | 3.26.0-16.el8_6 |
sqliteBitnami |
3.31.1 up to 3.31.2 | 3.31.2 |
lemonTuxCare:CentOS:8.4 |
before 3.26.0-15.el8.tuxcare.els3 | 3.26.0-15.el8.tuxcare.els3 |
sqliteTuxCare:CentOS:8.4 |
before 3.26.0-15.el8.tuxcare.els3 | 3.26.0-15.el8.tuxcare.els3 |
sqlite-analyzerTuxCare:CentOS:8.4 |
before 3.26.0-15.el8.tuxcare.els3 | 3.26.0-15.el8.tuxcare.els3 |
sqlite-develTuxCare:CentOS:8.4 |
before 3.26.0-15.el8.tuxcare.els3 | 3.26.0-15.el8.tuxcare.els3 |
Show 38 moreShow less
| Package | Affected | Fixed |
|---|---|---|
sqlite-docTuxCare:CentOS:8.4 |
before 3.26.0-15.el8.tuxcare.els3 | 3.26.0-15.el8.tuxcare.els3 |
sqlite-libsTuxCare:CentOS:8.4 |
before 3.26.0-15.el8.tuxcare.els3 | 3.26.0-15.el8.tuxcare.els3 |
sqlite-tclTuxCare:CentOS:8.4 |
before 3.26.0-15.el8.tuxcare.els3 | 3.26.0-15.el8.tuxcare.els3 |
lemonTuxCare:CentOS:8.5 |
before 3.26.0-15.el8.tuxcare.els3 | 3.26.0-15.el8.tuxcare.els3 |
sqliteTuxCare:CentOS:8.5 |
before 3.26.0-15.el8.tuxcare.els3 | 3.26.0-15.el8.tuxcare.els3 |
sqlite-analyzerTuxCare:CentOS:8.5 |
before 3.26.0-15.el8.tuxcare.els3 | 3.26.0-15.el8.tuxcare.els3 |
sqlite-develTuxCare:CentOS:8.5 |
before 3.26.0-15.el8.tuxcare.els3 | 3.26.0-15.el8.tuxcare.els3 |
sqlite-docTuxCare:CentOS:8.5 |
before 3.26.0-15.el8.tuxcare.els3 | 3.26.0-15.el8.tuxcare.els3 |
sqlite-libsTuxCare:CentOS:8.5 |
before 3.26.0-15.el8.tuxcare.els3 | 3.26.0-15.el8.tuxcare.els3 |
sqlite-tclTuxCare:CentOS:8.5 |
before 3.26.0-15.el8.tuxcare.els3 | 3.26.0-15.el8.tuxcare.els3 |
sqlite3Debian:12 |
before 3.32.0-1 | 3.32.0-1 |
sqlite3Debian:13 |
before 3.32.0-1 | 3.32.0-1 |
sqlite3Debian:14 |
before 3.32.0-1 | 3.32.0-1 |
sqlite3Debian:10 From an advisory covering 2 CVEs |
before 3.27.2-3+deb10u2, plus listed versions 3.27.2-33.27.2-3+deb10u1 |
3.27.2-3+deb10u2 |
lemonRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:3.26.0-16.el8_6 | 0:3.26.0-16.el8_6 |
lemon-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:3.26.0-16.el8_6 | 0:3.26.0-16.el8_6 |
sqlite-analyzer-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:3.26.0-16.el8_6 | 0:3.26.0-16.el8_6 |
sqlite-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:3.26.0-16.el8_6 | 0:3.26.0-16.el8_6 |
sqlite-debugsourceRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:3.26.0-16.el8_6 | 0:3.26.0-16.el8_6 |
sqlite-libs-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:3.26.0-16.el8_6 | 0:3.26.0-16.el8_6 |
sqlite-tcl-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:3.26.0-16.el8_6 | 0:3.26.0-16.el8_6 |
lemon-debuginfoRed Hat:enterprise_linux:8::baseos From an advisory covering 2 CVEs |
before 0:3.26.0-16.el8_6 | 0:3.26.0-16.el8_6 |
sqliteRed Hat:enterprise_linux:8::baseos From an advisory covering 2 CVEs |
before 0:3.26.0-16.el8_6 | 0:3.26.0-16.el8_6 |
sqlite-analyzer-debuginfoRed Hat:enterprise_linux:8::baseos From an advisory covering 2 CVEs |
before 0:3.26.0-16.el8_6 | 0:3.26.0-16.el8_6 |
sqlite-debuginfoRed Hat:enterprise_linux:8::baseos From an advisory covering 2 CVEs |
before 0:3.26.0-16.el8_6 | 0:3.26.0-16.el8_6 |
sqlite-debugsourceRed Hat:enterprise_linux:8::baseos From an advisory covering 2 CVEs |
before 0:3.26.0-16.el8_6 | 0:3.26.0-16.el8_6 |
sqlite-develRed Hat:enterprise_linux:8::baseos From an advisory covering 2 CVEs |
before 0:3.26.0-16.el8_6 | 0:3.26.0-16.el8_6 |
sqlite-docRed Hat:enterprise_linux:8::baseos From an advisory covering 2 CVEs |
before 0:3.26.0-16.el8_6 | 0:3.26.0-16.el8_6 |
sqlite-libsRed Hat:enterprise_linux:8::baseos From an advisory covering 2 CVEs |
before 0:3.26.0-16.el8_6 | 0:3.26.0-16.el8_6 |
sqlite-libs-debuginfoRed Hat:enterprise_linux:8::baseos From an advisory covering 2 CVEs |
before 0:3.26.0-16.el8_6 | 0:3.26.0-16.el8_6 |
sqlite-tcl-debuginfoRed Hat:enterprise_linux:8::baseos From an advisory covering 2 CVEs |
before 0:3.26.0-16.el8_6 | 0:3.26.0-16.el8_6 |
sqliteRocky Linux:8 From an advisory covering 2 CVEs |
before 0:3.26.0-16.el8_6 | 0:3.26.0-16.el8_6 |
sqlite3Ubuntu:Pro:14.04:LTS |
All versions, plus listed versions 3.7.17-1ubuntu13.8.0.2-1ubuntu13.8.1-1ubuntu13.8.1-1ubuntu33.8.2-1ubuntu1 Show 8 moreShow less3.8.2-1ubuntu23.8.2-1ubuntu2.13.8.2-1ubuntu2.23.8.2-1ubuntu2.2+esm13.8.2-1ubuntu2.2+esm23.8.2-1ubuntu2.2+esm33.8.2-1ubuntu2.2+esm43.8.2-1ubuntu2.2+esm5 |
None known |
sqlite3Ubuntu:Pro:16.04:LTS |
All versions, plus listed versions 3.8.11.1-13.9.1-23.9.2-13.10.0-13.10.1-1 Show 10 moreShow less3.10.2-13.11.0-1ubuntu13.11.0-1ubuntu1.13.11.0-1ubuntu1.23.11.0-1ubuntu1.33.11.0-1ubuntu1.43.11.0-1ubuntu1.53.11.0-1ubuntu1.5+esm13.11.0-1ubuntu1.5+esm23.11.0-1ubuntu1.5+esm3 |
None known |
sqlite3Ubuntu:Pro:18.04:LTS |
All versions, plus listed versions 3.19.3-33.20.1-23.21.0-13.22.0-13.22.0-1ubuntu0.1 Show 9 moreShow less3.22.0-1ubuntu0.23.22.0-1ubuntu0.33.22.0-1ubuntu0.43.22.0-1ubuntu0.53.22.0-1ubuntu0.63.22.0-1ubuntu0.73.22.0-1ubuntu0.7+esm13.22.0-1ubuntu0.7+esm23.22.0-1ubuntu0.7+esm3 |
None known |
sqlite3Ubuntu:20.04:LTS |
before 3.31.1-4ubuntu0.4, plus listed versions 3.29.0-23.30.1-13.30.1-1ubuntu13.31.1-1ubuntu13.31.1-3 Show 4 moreShow less3.31.1-43.31.1-4ubuntu0.13.31.1-4ubuntu0.23.31.1-4ubuntu0.3 |
3.31.1-4ubuntu0.4 |
sqlite3Ubuntu:18.04:LTS From an advisory covering 3 CVEs |
before 3.22.0-1ubuntu0.6, plus listed versions 3.19.3-33.20.1-23.21.0-13.22.0-13.22.0-1ubuntu0.1 Show 4 moreShow less3.22.0-1ubuntu0.23.22.0-1ubuntu0.33.22.0-1ubuntu0.43.22.0-1ubuntu0.5 |
3.22.0-1ubuntu0.6 |
sqlite3Ubuntu:20.04:LTS From an advisory covering 3 CVEs |
before 3.31.1-4ubuntu0.4, plus listed versions 3.29.0-23.30.1-13.30.1-1ubuntu13.31.1-1ubuntu13.31.1-3 Show 4 moreShow less3.31.1-43.31.1-4ubuntu0.13.31.1-4ubuntu0.23.31.1-4ubuntu0.3 |
3.31.1-4ubuntu0.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-35527 is a critical vulnerability (CVSS 9.8) in Sqlite, published September 1, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.66%, the 76th percentile. Fixed in sqlite 3.31.2.
References
sqlite.org/src/info/c431b3fd8fd0f6a6
security.netapp.com/advisory/ntap-20221111-0007
cert-portal.siemens.com/productcert/html/ssa-398330.html
nvd.nist.gov/vuln/detail/CVE-2020-35527
github.com/advisories/GHSA-c76x-fv7r-4xjr
access.redhat.com/errata/RHSA-2022:7108
Show 20 moreShow less
access.redhat.com/security/cve/CVE-2020-35525
access.redhat.com/security/cve/CVE-2020-35527
bugzilla.redhat.com/2122324
bugzilla.redhat.com/2122329
errata.almalinux.org/8/ALSA-2022-7108.html
errata.cloudlinux.com/centos8.4-els/CLSA-2022-1667513276.html
errata.cloudlinux.com/centos8.5-els/CLSA-2022-1667513366.html
security-tracker.debian.org/tracker/CVE-2020-35527
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2122324
bugzilla.redhat.com/show_bug.cgi?id=2122329
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_7108.json
cve.org/CVERecord?id=CVE-2020-35525
nvd.nist.gov/vuln/detail/CVE-2020-35525
cve.org/CVERecord?id=CVE-2020-35527
errata.rockylinux.org/RLSA-2022:7108
ubuntu.com/security/CVE-2020-35527
ubuntu.com/security/notices/USN-5615-1
ubuntu.com/security/CVE-2020-35525
ubuntu.com/security/CVE-2021-20223