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

Published Oct 30, 2026
·
Updated

SQLite before 3.54.0 built with FTS3/FTS4 and SQLITEENABLEFTS3PARENTHESIS 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.

Other sources

SQLite before 3.54.0 Use-After-Free in FTS3 fts3BestSnippet() via snippet()

— Microsoft

Affected Software

21 affected componentsFixes available
SQLite SQLite<3.54.0
ubuntu/sqlite*
ubuntu/sqlite3*
ubuntu/sqlite3*
ubuntu/sqlite*
ubuntu/sqlite3*
ubuntu/sqlite*
ubuntu/sqlite3*
ubuntu/sqlite*
ubuntu/sqlite*
ubuntu/sqlite3*
ubuntu/sqlite3*
ubuntu/sqlite3*
ubuntu/sqlite3*
debian/sqlite3*
debian/sqlite3*
debian/sqlite3<3.54.1-1
3.54.1-1
bitnami/sqlite<3.54.0
3.54.0
debian/sqlite3<=3.40.1-2+deb12u2, <=3.46.1-7+deb13u2
3.54.1-1
All of the following
azurelinux/sqlite<3.44.0-5
3.44.0-5
Microsoft Azure Linux=3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/sqlite3 to a version that resolves this vulnerability.

    Fixed in 3.54.1-1
  2. Upgrade

    Upgrade bitnami/sqlite to a version that resolves this vulnerability.

    Fixed in 3.54.0
  3. Upgrade

    Upgrade azurelinux/sqlite to a version that resolves this vulnerability.

    Fixed in 3.44.0-5
  4. Upgrade

    Upgrade SQLite to a version that resolves this vulnerability.

    Fixed in 3.54.0

Event History

Oct 30, 2026
CVE Published
via MITRE·11:30 AM
Data Sourced
via MITRE·11:30 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:16 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·01:35 PM
DescriptionSeverityAffected Software
Oct 31, 2026
Data Sourced
via Microsoft·08:04 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:04 AM
Affected Software
Nov 1, 2026
Data Sourced
via OSV·10:00 AM
Affected Software
Nov 3, 2026
Data Sourced
via NVD·04:09 PM
RemedyAffected Software
Nov 4, 2026
Exploit Published
via CISA·02:05 AM
Updated
via NVD·02:17 AM
Remedy
Updated
via OSV·10:01 AM
Severity
Nov 12, 2026
Updated
via OSV·11:00 PM
Affected Software
Nov 17, 2026
Advisory Published
via OSV·11:59 AM

Frequently Asked Questions

1

Which deployments are affected?

Affected deployments use SQLite versions before 3.54.0, are built with FTS3 or FTS4 and SQLITE_ENABLE_FTS3_PARENTHESIS, and execute queries against full-text search tables using snippet().

2

What must an attacker be able to do to exploit this issue?

An attacker needs to be able to run a full-text MATCH query that combines OR and NEAR operators with snippet(). The provided severity vector indicates local attack vector, no privileges required, and user interaction required.

3

What is the expected impact of successful exploitation?

Successful exploitation can read freed heap memory and crash the SQLite-using process. The provided vector rates availability impact as high and confidentiality and integrity impact as none.

4

How can exposure be reduced if an upgrade is not immediately possible?

Avoid allowing untrusted parties to execute the affected full-text MATCH query patterns, particularly queries combining OR and NEAR with snippet(). Restrict access to functionality that can issue these SQL queries.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203