SQLite before 3.54.0 built with FTS3/FTS4 and SQLITE_ENABLE_FTS3_PARENTHESIS contains a use-after-free vulnerability in fts3BestSnippet() caused by dangling cached position-list pointers. Attackers can run a full-text MATCH query combining OR and NEAR operators with snippet() to read freed heap memory and crash the process.
{
"cpes": [
"cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*"
],
"severity": "Medium"
}