Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-119372— SQLite before 3.54.0 Use-After-Free in FTS3 fts3BestSnippet() via snippet()

Quick assessment

Affected
SQLite SQLite
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在启用 FTS3/FTS4 且编译时包含 SQLITE_ENABLE_FTS3_PARENTHESIS 选项的 SQLite 3.54.0 之前版本中,fts3BestSnippet() 函数存在一个释放后使用(use-after-free)漏洞,该漏洞由悬空的缓存位置列表指针引起。攻击者可通过执行结合 OR 和 NEAR 操作符并调用 snippet() 函数的全文 MATCH 查询,读取已释放的堆内存,从而导致进程崩溃。

CVSS 5.5 · Medium

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-119372

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SQLite before 3.54.0 Use-After-Free in FTS3 fts3BestSnippet() via snippet()
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
释放后使用
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
SQLite SQLite 0 ~ 3.54.0 -

II. Public POCs for CVE-2026-119372

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-119372

请登录查看更多情报信息。

Other References for CVE-2026-119372 (8)

Same Patch Batch · SQLite · 2026-10-30 · 11 CVEs total

CVE-2026-119586 7.8 HIGH SQLite CLI through 3.54.1 Command Injection via .recover Output
CVE-2026-119379 7.8 HIGH SQLite before 3.54.0 Heap Buffer Overflow via Session Extension sessionUpdateFind()
CVE-2026-119374 7.8 HIGH SQLite before 3.54.0 Heap Buffer Overflow via FTS5 fts5DoSecureDelete()
CVE-2026-119373 7.8 HIGH SQLite before 3.54.0 FTS5 Heap Buffer Overflow via fts5MergeRowidLists()
CVE-2026-119375 5.5 MEDIUM SQLite before 3.54.0 Information Disclosure via WAL Page Size Mismatch
CVE-2026-119591 5.5 MEDIUM SQLite before 3.54.0 Stack Exhaustion via countOfViewOptimization() in VALUES Clause
CVE-2026-119371 5.5 MEDIUM SQLite before 3.54.0 Stack Exhaustion via CTE Chain in selectExpander()
CVE-2026-119376 5.5 MEDIUM SQLite before 3.54.0 Stack Exhaustion via COLLATE Operator Chain
CVE-2026-119378 5.5 MEDIUM SQLite before 3.54.0 Use-After-Free in R-Tree nodeWrite()
CVE-2026-119377 2.5 LOW SQLite before 3.54.0 Authorizer Bypass via RIGHT or FULL JOIN USING

IV. Related Vulnerabilities