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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-30 · Modified: 2026-11-04
- Aliases: DEBIAN-CVE-2026-119372, UBUNTU-CVE-2026-119372
- Record: https://cvemate.com/vulnerability/CVE-2026-119372 · JSON: https://cvemate.com/vulnerability/CVE-2026-119372/json

## Description

```text
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.
```

## Signals

- CVSS: 6.8 medium (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.184%, percentile 8.32%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian sqlite3 (Debian): All versions (No fix recorded) \| \< 3.54.1-1
- ubuntu sqlite (Ubuntu): All versions (No fix recorded)
- ubuntu sqlite3 (Ubuntu): All versions (No fix recorded) \| \< 3.45.1-1ubuntu2.12 \| \< 3.46.1-9ubuntu0.5
- sqlite sqlite: \< 3.54.0

## References

- <https://sqlite.org/bugs/info/2026-08-17T09:18:24Z>
- <https://sqlite.org/src/info/e4635c4153>
- <https://github.com/sqlite/sqlite/commit/a87bd2471a9c0606e78d3c3678bcd9cecaa0e731>
- <https://github.com/sqlite/sqlite/blob/version-3.53.4/ext/fts3/fts3_snippet.c#L561>
- <https://sqlite.org/releaselog/3_54_0.html>
- <https://abraxaslabs.tech/research/sqlite-fts3-snippet>
- <https://github.com/sqlite/sqlite>
- <https://www.vulncheck.com/advisories/sqlite-before-3.54.0-use-after-free-in-fts3-fts3bestsnippet-via-snippet>
- <https://security-tracker.debian.org/tracker/CVE-2026-119372>
- <https://ubuntu.com/security/CVE-2026-119372>
- <https://www.cve.org/CVERecord?id=CVE-2026-119372>
- <https://ubuntu.com/security/notices/USN-9259-1>
- <https://ubuntu.com/security/notices/USN-9259-2>

---

Data as of 2026-12-05T04:59:12.376Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
