SQLiteのFTS5で、細工された データベースによりヒープ領域を破壊される脆弱性
Summary
FTS5を有効にしてビルドされたSQLiteには、fts5DoSecureDelete()にヒープバッファオーバーフローの脆弱性(CVE-2026-119374)があります。改ざんされたFTS5インデックスを持つデータベースファイルに対して、セキュア削除が有効な状態で削除操作を行うと、メモリが壊れてアプリケーションがクラッシュするおそれがあります。3.54.0より前の版が対象で、3.54.0で修正されています。3.54.0以降への更新を検討してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
FTS5を有効にしてビルドされたSQLiteには、fts5DoSecureDelete()にヒープバッファオーバーフローの脆弱性(CVE-2026-119374)があります。改ざんされたFTS5インデックスを持つデータベースファイルに対して、セキュア削除が有効な状態で削除操作を行うと、メモリが壊れてアプリケーションがクラッシュするおそれがあります。3.54.0より前の版が対象で、3.54.0で修正されています。3.54.0以降への更新を検討してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| SQLiteSQLite |
< 3.54.0→ 3.54.0 |
3.54.0 |
| Bitnamisqlite |
< 3.54.0→ 3.54.0 |
3.54.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-119374 sqlite3 Fix available
- Ubuntu UBUNTU-CVE-2026-119374 sqlite3 Fix available
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory sqlite.org
- advisory abraxaslabs.tech
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch sqlite.org
- patch github.com
- web github.com
- web github.com
- web sqlite.org