Segmentation Fault in SQLite (CVE-2020-13435)

sqlite Updated 02 Oct 2025

Summary

24/05/2020
N/A
Yes i
Medium
5.5

CVE-2020-13435: SQLite through 3.32.0 has a segmentation fault in sqlite3ExprCodeTarget in expr.c. Affects sqlite across 2 version ranges.

< 0b0274a90c68a20c3dcab0b9f5719adda9402117 < 3.32.1-r0

Fixed in 3.32.1-r0. 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

SQLite is a popular embedded database engine that provides a lightweight and self-contained solution for managing relational databases. It is widely used in various applications and operating systems. However, a vulnerability has been discovered in SQLite versions up to 3.32.0 that can lead to a segmentation fault. This vulnerability, identified as CVE-2020-13435, occurs in the sqlite3ExprCodeTarget function in the expr.c file.

Vulnerability Detail

The vulnerability in SQLite (CVE-2020-13435) arises due to a segmentation fault in the sqlite3ExprCodeTarget function. This can be exploited by an attacker to cause a denial-of-service (DoS) condition or potentially execute arbitrary code. The vulnerability has a CVSSv3 score of 5.5, indicating a moderate severity level. It is important to note that this vulnerability has been fixed in version 3.32.1-r0 of SQLite.

How To Fix

Minimum fixed version

3.32.1-r0

This is the first release that contains the fix.

sudo apk add --upgrade sqlite

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround available for this vulnerability. It is essential to apply the official fix by updating SQLite to the patched version.

Conclusion

The vulnerability (CVE-2020-13435) in SQLite can lead to a segmentation fault and potentially enable arbitrary code execution. It is crucial to update SQLite to version 3.32.1-r0 or later to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for sqlite →

Share this vulnerability

FAQ

SQLite is an embedded database engine that provides a lightweight and self-contained solution for managing relational databases. It is widely used in various applications and operating systems.

The vulnerability (CVE-2020-13435) in SQLite can lead to a segmentation fault, potentially causing a denial-of-service (DoS) condition or enabling arbitrary code execution.

To fix the vulnerability, update SQLite to version 3.32.1-r0 or later by following the official upgrade instructions provided by the SQLite project.

No, there is no known workaround for this vulnerability. It is crucial to apply the official fix by updating SQLite to the patched version.

The vulnerability (CVE-2020-13435) in SQLite has a CVSSv3 score of 5.5, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for sqlite.

How To Fix

Minimum fixed version

3.32.1-r0

This is the first release that contains the fix.

sudo apk add --upgrade sqlite

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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