SQLiteのFTS5に脆弱性、細工されたデータで処理が停止するおそれ
Summary
SQLite 3.54.0より前のFTS5を組み込んだ版には、ヒープバッファオーバーフローの脆弱性があります。detail=none設定のFTS5テーブルに負のrowidを入れ、前方一致のMATCH検索を実行されると、メモリが壊れてプロセスが停止するおそれがあります。修正版はSQLite 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.
SQLite 3.54.0より前のFTS5を組み込んだ版には、ヒープバッファオーバーフローの脆弱性があります。detail=none設定のFTS5テーブルに負のrowidを入れ、前方一致のMATCH検索を実行されると、メモリが壊れてプロセスが停止するおそれがあります。修正版はSQLite 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-119373 sqlite3 Fix available
- Ubuntu UBUNTU-CVE-2026-119373 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 fts5MergeRowidLists() that undersizes the output buffer when merging detail=none prefix doclists. Attackers who can populate a detail=none FTS5 table with negative rowids and run a prefix MATCH query can write past the allocation, corrupting heap memory and crashing the process.
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
- REDHAT Red Hat
- report sqlite.org
- web github.com
- web github.com
- web sqlite.org