Bug 2552461 - sqlite: sqlite: heap buffer overflow in FTS5 rowid list merging
Summary: sqlite: sqlite: heap buffer overflow in FTS5 rowid list merging
Keywords:
Status: NEW
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2553538 2553539 2553540 2553541 2553542 2553544 2553536
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-14 16:14 UTC by OSIDB Bzimport
Modified: 2026-10-16 05:43 UTC (History)
18 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-14 16:14:05 UTC
A vulnerability was found in SQLite's FTS5 full-text search extension. The fts5MergeRowidLists function allocates a buffer sized as p1->n + p2->n without accounting for varint expansion during merging, leading to a heap buffer overflow. FTS5 is enabled in RHEL 8, 9, and 10 builds.

PoC: https://github.com/abraxas/sqlite-fts5-rowidmerge

Fixed in SQLite 3.54.0 (fix in ext/fts5/fts5_index.c — buffer allocation now adds 9 bytes for varint expansion).


Note You need to log in before you can comment on or make changes to this bug.