CVE-2026-119372: SQLite use-after-free in fts3BestSnippet()

CVE-2026-119372 · Severity: medium · CVSS 5.5 · Published 2026-10-30

SQLite is a widely-used embedded database engine built into mobile phones, computers, and countless applications. A use-after-free vulnerability in the full-text search component allows attackers to read freed memory and crash applications by crafting specially-formed database queries combining text search operators. This affects any application using SQLite with full-text search enabled.

Technologies: Sqlite. Vendors: SQLite.

Quick answers

Is CVE-2026-119372 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-119372 being exploited in the wild.
How severe is CVE-2026-119372?
Medium severity, with a CVSS score of 5.5, published 30 October 2026.
Which products and versions are affected?
Sqlite before 3.54.0.
Is there a fix for CVE-2026-119372?
Yes: fixed in SQLite 3.54.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-119372 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-119372?
Check whether you run Sqlite at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: SQLite 3.54.0

Technical details

A use-after-free vulnerability exists in fts3BestSnippet() when SQLite is built with FTS3/FTS4 and SQLITE_ENABLE_FTS3_PARENTHESIS enabled. Attackers trigger the bug by executing a full-text MATCH query combining OR and NEAR operators with the snippet() function, causing the code to reference dangling cached position-list pointers. Successful exploitation results in heap memory disclosure or process crash.

Affected products

  • SQLite SQLite before 3.54.0

Timeline

  • 2026-10-30: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.