Critical Security Flaw in SQLite: Integer Truncation Vulnerability

sqlite Updated 21 Nov 2025

Summary

21/11/2025
N/A
Yes i
High
7.7

RLSA-2025:20936: Important: sqlite security update. Affects sqlite versions < 0:3.34.1-9.el9_7. Fixed in 0:3.34.1-9.el9_7. 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 widely-used C library that implements an SQL database engine, supporting a large subset of SQL92. It allows applications to manage databases conveniently without the need for a separate database server, storing complete databases in single disk files. Its ease of use and flexibility make it a popular choice among developers.

Vulnerability Detail

The vulnerability identified as CVE-2025-6965 involves an integer truncation issue within SQLite. This flaw can lead to unexpected behavior in applications that rely on SQLite for database management. If exploited, it may allow attackers to manipulate data or cause application crashes, potentially leading to data loss or unauthorized access. The CVSS score for this vulnerability is 7.7, indicating a high severity level.

How To Fix

Minimum fixed version

0:3.34.1-9.el9_7

This is the first release that contains the fix.

sudo dnf update sqlite

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

Workaround

As a temporary workaround, users may consider limiting the use of SQLite in critical applications until the package can be updated. Additionally, implementing strict input validation can help mitigate potential exploitation of this vulnerability.

Conclusion

The integer truncation vulnerability in SQLite, identified as CVE-2025-6965, poses significant risks to applications that utilize this database engine. It is crucial for users to update to the latest patched version to mitigate these risks effectively. Regular monitoring for vulnerabilities using tools like Vulert can help maintain application security.

See every vulnerability recorded for sqlite →

Share this vulnerability

FAQ

CVE-2025-6965 is a security vulnerability in SQLite that involves integer truncation, which can lead to data manipulation or application crashes.

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

Exploitation of this vulnerability can lead to data loss, unauthorized access, or application instability, posing significant risks to affected systems.

Yes, a patched version of SQLite is available. Users should update to version 0:3.34.1-9.el9_7 or later to address this issue.

The CVSS score for this vulnerability is 7.7, indicating a high level of severity.

Related vulnerabilities

Recent vulnerabilities recorded for sqlite.

How To Fix

Minimum fixed version

0:3.34.1-9.el9_7

This is the first release that contains the fix.

sudo dnf update 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