Every CVE Search/ Get API key

CVE-2020-35525

In SQlite 3.31.1, a potential null pointer derreference was found in the INTERSEC query processing.

7.5 HighFix available

In SQlite 3.31.1, a potential null pointer derreference was found in the INTERSEC query processing.

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
None
Integrity
None
Availability
High

Exploit likelihood

1.63%Up 0.7 points since Sep 2, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

In SQlite 3.31.1, a potential null pointer derreference was found in the INTERSEC query processing.

Record
CVE-2020-35525
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-02
CVE List No score

In SQlite 3.31.1, a potential null pointer derreference was found in the INTERSEC query processing.

Record
CVE-2020-35525
Weakness
CWE-476
Updated
2026-11-02
EUVDEUVD-2020-23192 No score

In SQlite 3.31.1, a potential null pointer derreference was found in the INTERSEC query processing.

Record
EUVD-2020-23192
Updated
2026-11-02
GitHub AdvisoriesGHSA-3p6j-m43h-3g48 7.5

In SQlite 3.31.1, a potential null pointer derreference was found in the INTERSEC query processing.

In SQlite 3.31.1, a potential null pointer derreference was found in the INTERSEC query processing.

Record
GHSA-3p6j-m43h-3g48
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-02
OSV 7.5

In SQlite 3.31.1, a potential null pointer derreference was found in the INTERSEC query processing.

Record
CVE-2020-35525
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-35525 7.5

In SQlite 3.31.1, a potential null pointer derreference was found in the INTERSEC query processing.

Record
DEBIAN-CVE-2020-35525
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 12 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-35525 7.5

In SQlite 3.31.1, a potential null pointer derreference was found in the INTERSEC query processing.

Record
UBUNTU-CVE-2020-35525
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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-35525 No score

In SQlite 3.31.1, a potential null pointer derreference was found in the INTERSEC query processing.

Record
BIT-sqlite-2020-35525
Updated
2026-11-02
OSVCLSA-2022-1665073456 No score

Fixed CVEs in sqlite: CVE-2020-35525, CVE-2021-20223

  • CVE-2021-20223: prevent fts5 tokenizer unicode61 from considering '\0' to be a token characters, even if other characters of class "Cc" are.
  • CVE-2020-35525: fix a potential null pointer dereference.
Record
CLSA-2022-1665073456
Updated
2026-11-02
OSVCLSA-2022-1665073587 No score

Fixed CVEs in sqlite: CVE-2020-35525, CVE-2021-20223

  • CVE-2021-20223: prevent fts5 tokenizer unicode61 from considering '\0' to be a token characters, even if other characters of class "Cc" are.
  • CVE-2020-35525: fix a potential null pointer dereference.
Record
CLSA-2022-1665073587
Updated
2026-11-02
OSVCLSA-2022-1665428177 No score

Fixed CVEs in sqlite: CVE-2020-35525, CVE-2020-13435

  • CVE-2020-13435: add a code that tries to prevent a recurrence of problems
  • CVE-2020-35525: a potential null pointer dereference was fixed
Record
CLSA-2022-1665428177
Updated
2026-11-02
OSVCLSA-2022-1665428326 No score

Fixed CVEs in sqlite: CVE-2020-35525, CVE-2020-13435

  • CVE-2020-13435: add a code that tries to prevent a recurrence of problems
  • CVE-2020-35525: a potential null pointer dereference was fixed
Record
CLSA-2022-1665428326
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
OSVUSN-5615-2 No score

sqlite3 vulnerability

USN-5615-1 fixed several vulnerabilities in SQLite. This update provides the corresponding fix for CVE-2020-35525 for Ubuntu 16.04 ESM.

Original advisory details:

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.

Record
USN-5615-2
Updated
2026-11-02
OSVUSN-5615-3 No score

sqlite3 vulnerability

USN-5615-1 fixed several vulnerabilities in SQLite. This update provides the corresponding fix for CVE-2020-35525 for Ubuntu 14.04 LTS.

Original advisory details:

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-3
Updated
2026-11-02

Affected products

Show 3 moreShow less

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
From an advisory covering 2 CVEs
before 3.26.0-15.el8.tuxcare.els1
3.26.0-15.el8.tuxcare.els1
sqlite
TuxCare:CentOS:8.4
From an advisory covering 2 CVEs
before 3.26.0-15.el8.tuxcare.els1
3.26.0-15.el8.tuxcare.els1
sqlite-analyzer
TuxCare:CentOS:8.4
From an advisory covering 2 CVEs
before 3.26.0-15.el8.tuxcare.els1
3.26.0-15.el8.tuxcare.els1
sqlite-devel
TuxCare:CentOS:8.4
From an advisory covering 2 CVEs
before 3.26.0-15.el8.tuxcare.els1
3.26.0-15.el8.tuxcare.els1
Show 48 moreShow less
Affected packages
PackageAffectedFixed
sqlite-doc
TuxCare:CentOS:8.4
From an advisory covering 2 CVEs
before 3.26.0-15.el8.tuxcare.els1
3.26.0-15.el8.tuxcare.els1
sqlite-libs
TuxCare:CentOS:8.4
From an advisory covering 2 CVEs
before 3.26.0-15.el8.tuxcare.els1
3.26.0-15.el8.tuxcare.els1
sqlite-tcl
TuxCare:CentOS:8.4
From an advisory covering 2 CVEs
before 3.26.0-15.el8.tuxcare.els1
3.26.0-15.el8.tuxcare.els1
lemon
TuxCare:CentOS:8.5
From an advisory covering 2 CVEs
before 3.26.0-15.el8.tuxcare.els1
3.26.0-15.el8.tuxcare.els1
sqlite
TuxCare:CentOS:8.5
From an advisory covering 2 CVEs
before 3.26.0-15.el8.tuxcare.els1
3.26.0-15.el8.tuxcare.els1
sqlite-analyzer
TuxCare:CentOS:8.5
From an advisory covering 2 CVEs
before 3.26.0-15.el8.tuxcare.els1
3.26.0-15.el8.tuxcare.els1
sqlite-devel
TuxCare:CentOS:8.5
From an advisory covering 2 CVEs
before 3.26.0-15.el8.tuxcare.els1
3.26.0-15.el8.tuxcare.els1
sqlite-doc
TuxCare:CentOS:8.5
From an advisory covering 2 CVEs
before 3.26.0-15.el8.tuxcare.els1
3.26.0-15.el8.tuxcare.els1
sqlite-libs
TuxCare:CentOS:8.5
From an advisory covering 2 CVEs
before 3.26.0-15.el8.tuxcare.els1
3.26.0-15.el8.tuxcare.els1
sqlite-tcl
TuxCare:CentOS:8.5
From an advisory covering 2 CVEs
before 3.26.0-15.el8.tuxcare.els1
3.26.0-15.el8.tuxcare.els1
lemon
TuxCare:CentOS:6
From an advisory covering 2 CVEs
before 3.6.20-1.el6_7.2.tuxcare.els1
3.6.20-1.el6_7.2.tuxcare.els1
sqlite
TuxCare:CentOS:6
From an advisory covering 2 CVEs
before 3.6.20-1.el6_7.2.tuxcare.els1
3.6.20-1.el6_7.2.tuxcare.els1
sqlite-devel
TuxCare:CentOS:6
From an advisory covering 2 CVEs
before 3.6.20-1.el6_7.2.tuxcare.els1
3.6.20-1.el6_7.2.tuxcare.els1
sqlite-doc
TuxCare:CentOS:6
From an advisory covering 2 CVEs
before 3.6.20-1.el6_7.2.tuxcare.els1
3.6.20-1.el6_7.2.tuxcare.els1
sqlite-tcl
TuxCare:CentOS:6
From an advisory covering 2 CVEs
before 3.6.20-1.el6_7.2.tuxcare.els1
3.6.20-1.el6_7.2.tuxcare.els1
lemon
TuxCare:OracleLinux:6
From an advisory covering 2 CVEs
before 3.6.20-1.el6_7.2.tuxcare.els1
3.6.20-1.el6_7.2.tuxcare.els1
sqlite
TuxCare:OracleLinux:6
From an advisory covering 2 CVEs
before 3.6.20-1.el6_7.2.tuxcare.els1
3.6.20-1.el6_7.2.tuxcare.els1
sqlite-devel
TuxCare:OracleLinux:6
From an advisory covering 2 CVEs
before 3.6.20-1.el6_7.2.tuxcare.els1
3.6.20-1.el6_7.2.tuxcare.els1
sqlite-doc
TuxCare:OracleLinux:6
From an advisory covering 2 CVEs
before 3.6.20-1.el6_7.2.tuxcare.els1
3.6.20-1.el6_7.2.tuxcare.els1
sqlite-tcl
TuxCare:OracleLinux:6
From an advisory covering 2 CVEs
before 3.6.20-1.el6_7.2.tuxcare.els1
3.6.20-1.el6_7.2.tuxcare.els1
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
before 3.8.2-1ubuntu2.2+esm4, plus listed versions
3.7.17-1ubuntu13.8.0.2-1ubuntu13.8.1-1ubuntu13.8.1-1ubuntu33.8.2-1ubuntu1
Show 6 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+esm3
3.8.2-1ubuntu2.2+esm4
sqlite3
Ubuntu:Pro:16.04:LTS
before 3.11.0-1ubuntu1.5+esm1, plus listed versions
3.8.11.1-13.9.1-23.9.2-13.10.0-13.10.1-1
Show 7 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.5
3.11.0-1ubuntu1.5+esm1
sqlite3
Ubuntu:18.04:LTS
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
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-35525 is a high vulnerability (CVSS 7.5) 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.63%, the 76th percentile. Fixed in sqlite 3.31.2.

References

Show 25 moreShow less
MoveEnter Open