CVE-2026-119374: SQLite before 3.54.0 Heap Buffer Overflow via FTS5 fts5DoSecureDelete()
SQLite before 3.54.0 built with FTS5 contains a heap buffer overflow in fts5DoSecureDelete() that allows attackers to write past the leaf page buffer via crafted footer key offsets. Attackers can supply a database file with a corrupted FTS5 index that, when deleted from with secure-delete enabled, corrupts heap memory and crashes the application.
Other sources
SQLite before 3.54.0 Heap Buffer Overflow via FTS5 fts5DoSecureDelete()
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/sqlite3to a version that resolves this vulnerability.Fixed in 3.54.1-1 - Upgrade
Upgrade
bitnami/sqliteto a version that resolves this vulnerability.Fixed in 3.54.0 - Upgrade
Upgrade
azurelinux/sqliteto a version that resolves this vulnerability.Fixed in 3.44.0-5 - Upgrade
Upgrade
SQLiteto a version that resolves this vulnerability.Fixed in 3.54.0
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using SQLite versions before 3.54.0 are exposed when SQLite is built with FTS5 and secure-delete is enabled. The vulnerable path is relevant when the application deletes data from a database containing a corrupted FTS5 index.
What does an attacker need to do to trigger the issue?
An attacker needs to supply a database file with a crafted, corrupted FTS5 index containing malicious footer key offsets. The application must then perform a deletion operation while secure-delete is enabled.
What is the practical impact of successful exploitation?
The crafted offsets can cause writes past the leaf page buffer, corrupting heap memory. The reported outcome includes application crashes.
How can I determine whether an application is affected?
Check whether the application uses SQLite before 3.54.0, whether its SQLite build includes FTS5, and whether secure-delete is enabled. Exposure is most relevant if the application accepts database files from untrusted sources and deletes data from them.
What version should be used to remediate this issue?
Upgrade SQLite to version 3.54.0 or later. The issue affects versions before 3.54.0.