When built with FTS5, a heap buffer overflow occurs in the `fts5DoSecureDelete()` function. This issue allows attackers to write past the leaf page buffer by using crafted footer key offsets. By providing a database file with a corrupted FTS5 index, an attacker can corrupt heap memory and crash the application when a deletion is performed with secure-delete enabled.