BIT-sqlite-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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
bitnami/sqliteto a version that resolves this vulnerability.Fixed in 3.54.0 - Upgrade
Upgrade
SQLiteto a version that resolves this vulnerability.Fixed in 3.54.0
Event History
Frequently Asked Questions
Which deployments are affected?
Affected deployments use SQLite versions before 3.54.0, are built with FTS5 support, and process an FTS5 index. The vulnerable path is reached when secure-delete is enabled.
What does an attacker need to trigger the issue?
An attacker needs to supply a database file containing a corrupted FTS5 index with crafted footer key offsets. The application must then perform a deletion against that database with secure-delete enabled.
What is the likely impact during exploitation?
The crafted offsets cause a write past the leaf page buffer, corrupting heap memory. The described outcome is an application crash.
How can I determine whether an application may be exposed?
Check whether it uses SQLite earlier than 3.54.0, was built with FTS5, accepts or opens attacker-supplied database files, and performs deletions with secure-delete enabled. Systems that do not meet all of these conditions are not described as reaching the vulnerable path.