{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "cpe": "cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*",
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "3.54.0"
                  }
                ],
                "source": "CPE_RANGE"
              },
              {
                "range": [
                  {
                    "fixed": "a87bd2471a9c0606e78d3c3678bcd9cecaa0e731"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6932c59ee5c280599dfae9e7b431698a7cab9687"
            },
            {
              "fixed": "a87bd2471a9c0606e78d3c3678bcd9cecaa0e731"
            }
          ],
          "repo": "https://github.com/sqlite/sqlite",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-416"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119372.json"
  },
  "details": "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.",
  "id": "CVE-2026-119372",
  "modified": "2026-11-05T02:30:38.521923168Z",
  "published": "2026-10-30T11:30:38.453Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://sqlite.org/"
    },
    {
      "type": "ADVISORY",
      "url": "https://abraxaslabs.tech/research/sqlite-fts3-snippet"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119372.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-119372"
    },
    {
      "type": "ADVISORY",
      "url": "https://sqlite.org/releaselog/3_54_0.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/sqlite-before-3.54.0-use-after-free-in-fts3-fts3bestsnippet-via-snippet"
    },
    {
      "type": "REPORT",
      "url": "https://sqlite.org/bugs/info/2026-08-17T09:18:24Z"
    },
    {
      "type": "FIX",
      "url": "https://github.com/sqlite/sqlite/commit/a87bd2471a9c0606e78d3c3678bcd9cecaa0e731"
    },
    {
      "type": "FIX",
      "url": "https://sqlite.org/src/info/e4635c4153"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/sqlite/sqlite"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/sqlite/sqlite/blob/version-3.53.4/ext/fts3/fts3_snippet.c#L561"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "SQLite before 3.54.0 Use-After-Free in FTS3 fts3BestSnippet() via snippet()"
}