Critical Out of Bounds Access Vulnerability in SQLite3 Package

sqlite3 Updated 04 Oct 2025

Summary

01/09/2022
N/A
No i
Critical
9.8

UBUNTU-CVE-2020-35527: In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that have a nested FROM clause. Affects sqlite3 versions 3.7.17-1ubuntu1 – 3.8.2-1ubuntu2.2+esm5. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

SQLite3 is a widely used relational database management system that is embedded in applications. It is known for its lightweight nature and ease of use, making it a popular choice for developers. The package provides various functionalities, including data storage, retrieval, and manipulation. However, it has been identified to have a critical vulnerability that can lead to severe security risks.

Vulnerability Detail

In SQLite 3.31.1, there exists an out of bounds access issue triggered by the ALTER TABLE command for views that contain a nested FROM clause. This vulnerability can allow an attacker to exploit the database, potentially leading to unauthorized access to sensitive data or system crashes. The vulnerability is classified with a CVSS score of 9.8, indicating a high severity level that necessitates immediate attention.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, consider avoiding the use of ALTER TABLE commands on views with nested FROM clauses until the package is updated. This can help mitigate the risk of exploitation while you prepare to apply the necessary updates.

Conclusion

The SQLite3 package has a critical out of bounds access vulnerability that requires immediate attention. Updating to the patched version is essential to safeguard your application from potential exploits. Utilize the provided workaround until the update can be applied.

See every vulnerability recorded for sqlite3 →

Share this vulnerability

FAQ

The vulnerability can lead to unauthorized access to sensitive data and potential system crashes, posing significant security risks.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score of this vulnerability is 9.8, indicating a critical level of severity.

If immediate updates are not possible, avoid using ALTER TABLE commands on views with nested FROM clauses as a temporary workaround.

More information can be found in the Ubuntu security notices and the CVE database related to CVE-2020-35527.

Related vulnerabilities

Recent vulnerabilities recorded for sqlite3.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback