Every CVE Search/ Get API key

CVE-2020-35527

In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that...

9.8 CriticalFix available

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

1.66%Up 0.8 points since Sep 2, 2022
90%50%10%1%

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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 HighCVSS: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 HighCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
lemon
AlmaLinux:8
From an advisory covering 2 CVEs
before 3.26.0-16.el8_6
3.26.0-16.el8_6
sqlite
AlmaLinux:8
From an advisory covering 2 CVEs
before 3.26.0-16.el8_6
3.26.0-16.el8_6
sqlite-devel
AlmaLinux:8
From an advisory covering 2 CVEs
before 3.26.0-16.el8_6
3.26.0-16.el8_6
sqlite-doc
AlmaLinux:8
From an advisory covering 2 CVEs
before 3.26.0-16.el8_6
3.26.0-16.el8_6
sqlite-libs
AlmaLinux:8
From an advisory covering 2 CVEs
before 3.26.0-16.el8_6
3.26.0-16.el8_6
sqlite
Bitnami
3.31.1 up to 3.31.2
3.31.2
lemon
TuxCare:CentOS:8.4
before 3.26.0-15.el8.tuxcare.els3
3.26.0-15.el8.tuxcare.els3
sqlite
TuxCare:CentOS:8.4
before 3.26.0-15.el8.tuxcare.els3
3.26.0-15.el8.tuxcare.els3
sqlite-analyzer
TuxCare:CentOS:8.4
before 3.26.0-15.el8.tuxcare.els3
3.26.0-15.el8.tuxcare.els3
sqlite-devel
TuxCare:CentOS:8.4
before 3.26.0-15.el8.tuxcare.els3
3.26.0-15.el8.tuxcare.els3
Show 38 moreShow less
Affected packages
PackageAffectedFixed
sqlite-doc
TuxCare:CentOS:8.4
before 3.26.0-15.el8.tuxcare.els3
3.26.0-15.el8.tuxcare.els3
sqlite-libs
TuxCare:CentOS:8.4
before 3.26.0-15.el8.tuxcare.els3
3.26.0-15.el8.tuxcare.els3
sqlite-tcl
TuxCare:CentOS:8.4
before 3.26.0-15.el8.tuxcare.els3
3.26.0-15.el8.tuxcare.els3
lemon
TuxCare:CentOS:8.5
before 3.26.0-15.el8.tuxcare.els3
3.26.0-15.el8.tuxcare.els3
sqlite
TuxCare:CentOS:8.5
before 3.26.0-15.el8.tuxcare.els3
3.26.0-15.el8.tuxcare.els3
sqlite-analyzer
TuxCare:CentOS:8.5
before 3.26.0-15.el8.tuxcare.els3
3.26.0-15.el8.tuxcare.els3
sqlite-devel
TuxCare:CentOS:8.5
before 3.26.0-15.el8.tuxcare.els3
3.26.0-15.el8.tuxcare.els3
sqlite-doc
TuxCare:CentOS:8.5
before 3.26.0-15.el8.tuxcare.els3
3.26.0-15.el8.tuxcare.els3
sqlite-libs
TuxCare:CentOS:8.5
before 3.26.0-15.el8.tuxcare.els3
3.26.0-15.el8.tuxcare.els3
sqlite-tcl
TuxCare:CentOS:8.5
before 3.26.0-15.el8.tuxcare.els3
3.26.0-15.el8.tuxcare.els3
sqlite3
Debian:12
before 3.32.0-1
3.32.0-1
sqlite3
Debian:13
before 3.32.0-1
3.32.0-1
sqlite3
Debian:14
before 3.32.0-1
3.32.0-1
sqlite3
Debian: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
lemon
Red 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-debuginfo
Red 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-debuginfo
Red 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-debuginfo
Red 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-debugsource
Red 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-debuginfo
Red 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-debuginfo
Red 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-debuginfo
Red 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
Red 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-debuginfo
Red 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-debuginfo
Red 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-debugsource
Red 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-devel
Red 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-doc
Red 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
Red 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-debuginfo
Red 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-debuginfo
Red 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
Rocky Linux:8
From an advisory covering 2 CVEs
before 0:3.26.0-16.el8_6
0:3.26.0-16.el8_6
sqlite3
Ubuntu: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 less
3.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
sqlite3
Ubuntu: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 less
3.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
sqlite3
Ubuntu: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 less
3.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
sqlite3
Ubuntu: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 less
3.31.1-43.31.1-4ubuntu0.13.31.1-4ubuntu0.23.31.1-4ubuntu0.3
3.31.1-4ubuntu0.4
sqlite3
Ubuntu: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 less
3.22.0-1ubuntu0.23.22.0-1ubuntu0.33.22.0-1ubuntu0.43.22.0-1ubuntu0.5
3.22.0-1ubuntu0.6
sqlite3
Ubuntu: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 less
3.31.1-43.31.1-4ubuntu0.13.31.1-4ubuntu0.23.31.1-4ubuntu0.3
3.31.1-4ubuntu0.4

History

History
RecordedChangedSources
affected, facts
first indexedCVE 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

Show 20 moreShow less
MoveEnter Open