CVE-2026-119373

SQLite before 3.54.0 FTS5 Heap Buffer Overflow via fts5MergeRowidLists()

Published Oct 30, 2026 CVSS 4.0 · 8.5 High EPSS < 1% KEV · Not listed
Description
SQLite before 3.54.0 built with FTS5 contains a heap buffer overflow in fts5MergeRowidLists() that undersizes the output buffer when merging detail=none prefix doclists. Attackers who can populate a detail=none FTS5 table with negative rowids and run a prefix MATCH query can write past the allocation, corrupting heap memory and crashing the process.

Analysis

AI-generated

Technical impact

SQLite libraries built with the FTS5 extension before version 3.54.0 contain a heap buffer overflow in the function fts5MergeRowidLists(). The flaw occurs when the function merges detail=none prefix doclists that contain negative rowid values, undersizing the output buffer and allowing an attacker to write past the allocated memory. This memory corruption can lead to process crashes and, in some contexts, elevate the effect to more severe failures, but the CVE description does not assert that arbitrary code execution is guaranteed.

Affected Systems

The vulnerability affects all installations of SQLite that include the FTS5 extension and are built with a version earlier than 3.54.0. Supported vendors: SQLite, SQLite developers. All compiled binaries of SQLite prior to 3.54.0 that expose the FTS5 feature are at risk. No specific patch versions are listed beyond the release that includes the fix, which is 3.54.0 and later.

Risk and Exploitability

The CVSS score of 8.5 reflects a high severity. No EPSS score is available and the issue is not listed in the CISA KEV catalog, so public exploit data are currently unknown. The likely attack vector is an application that can write negative rowid values into a detail=none FTS5 table and then issue a prefix MATCH query that triggers the merge. If the database is exposed to untrusted input, remote exploitation may be possible; if it is only accessed locally, exploitation requires application-level access. The exploit requires that the vulnerable code path be active, meaning the FTS5 extension is compiled in and detail=none usage is enabled.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to SQLite 3.54.0 or later, which contains the patch that correctly allocates the merged doclist buffer
  • If the FTS5 extension is not needed, compile SQLite without FTS5 or remove the detail=none configuration to eliminate the vulnerable code path
  • Add constraints or validation to block insertion of negative rowid values into detail=none FTS5 tables to reduce the attack surface

Generated by OpenCVE AI on October 30, 2026 at 13:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Redhat
Redhat hummingbird
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
Description SQLite before 3.54.0 built with FTS5 contains a heap buffer overflow in fts5MergeRowidLists() that undersizes the output buffer when merging detail=none prefix doclists. Attackers who can populate a detail=none FTS5 table with negative rowids and run a prefix MATCH query can write past the allocation, corrupting heap memory and crashing the process.
Title SQLite before 3.54.0 FTS5 Heap Buffer Overflow via fts5MergeRowidLists()
First Time appeared Sqlite
Sqlite sqlite
Weaknesses CWE-787
CPEs cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*
Vendors & Products Sqlite
Sqlite sqlite
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 5, 2026, 9:09 PM
Reserved
Oct 30, 2026, 12:39 AM
Status
Analyzed
Published
Oct 30, 2026, 12:16 PM
Modified
Nov 5, 2026, 9:18 PM
Severity
Important
Public date
Oct 30, 2026, 11:30 AM