CVE-2020-35525
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.
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
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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 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-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 High
CVSS: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
- sqlite
- siemens ruggedcom rox mx5000
- siemens ruggedcom rox mx5000re
- siemens ruggedcom rox rx1400
- siemens ruggedcom rox rx1500
- siemens ruggedcom rox rx1501
- siemens ruggedcom rox rx1510
- siemens ruggedcom rox rx1511
- siemens ruggedcom rox rx1512
- siemens ruggedcom rox rx1524
- siemens ruggedcom rox rx1536
- siemens ruggedcom rox rx5000
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 From an advisory covering 2 CVEs |
before 3.26.0-15.el8.tuxcare.els1 | 3.26.0-15.el8.tuxcare.els1 |
sqliteTuxCare: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-analyzerTuxCare: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-develTuxCare: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
| Package | Affected | Fixed |
|---|---|---|
sqlite-docTuxCare: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-libsTuxCare: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-tclTuxCare:CentOS:8.4 From an advisory covering 2 CVEs |
before 3.26.0-15.el8.tuxcare.els1 | 3.26.0-15.el8.tuxcare.els1 |
lemonTuxCare:CentOS:8.5 From an advisory covering 2 CVEs |
before 3.26.0-15.el8.tuxcare.els1 | 3.26.0-15.el8.tuxcare.els1 |
sqliteTuxCare: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-analyzerTuxCare: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-develTuxCare: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-docTuxCare: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-libsTuxCare: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-tclTuxCare:CentOS:8.5 From an advisory covering 2 CVEs |
before 3.26.0-15.el8.tuxcare.els1 | 3.26.0-15.el8.tuxcare.els1 |
lemonTuxCare: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 |
sqliteTuxCare: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-develTuxCare: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-docTuxCare: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-tclTuxCare: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 |
lemonTuxCare: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 |
sqliteTuxCare: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-develTuxCare: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-docTuxCare: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-tclTuxCare: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 |
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 |
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 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+esm3 |
3.8.2-1ubuntu2.2+esm4 |
sqlite3Ubuntu: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 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.5 |
3.11.0-1ubuntu1.5+esm1 |
sqlite3Ubuntu: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 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 |
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-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
sqlite.org/src/info/a67cf5b7d37d5b14
security.netapp.com/advisory/ntap-20230706-0007
cert-portal.siemens.com/productcert/html/ssa-398330.html
cert-portal.siemens.com/productcert/html/ssa-202008.html
nvd.nist.gov/vuln/detail/CVE-2020-35525
github.com/advisories/GHSA-3p6j-m43h-3g48
Show 25 moreShow less
access.redhat.com/errata/RHSA-2022:7108
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-1665073456.html
errata.cloudlinux.com/centos8.5-els/CLSA-2022-1665073587.html
errata.cloudlinux.com/els6/CLSA-2022-1665428177.html
errata.cloudlinux.com/ol6/CLSA-2022-1665428326.html
security-tracker.debian.org/tracker/CVE-2020-35525
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
cve.org/CVERecord?id=CVE-2020-35527
nvd.nist.gov/vuln/detail/CVE-2020-35527
errata.rockylinux.org/RLSA-2022:7108
ubuntu.com/security/CVE-2020-35525
ubuntu.com/security/notices/USN-5615-1
ubuntu.com/security/notices/USN-5615-2
ubuntu.com/security/notices/USN-5615-3
ubuntu.com/security/CVE-2020-35527
ubuntu.com/security/CVE-2021-20223