Bug 2553540 - fossil: sqlite: heap buffer overflow in FTS5 rowid list merging [fedora-all]
Summary: fossil: sqlite: heap buffer overflow in FTS5 rowid list merging [fedora-all]
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: fossil
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Filipe Rosset
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["c5be2748-7d17-4dac-b0d9-d...
Depends On:
Blocks: 2552461
TreeView+ depends on / blocked
 
Reported: 2026-10-15 15:18 UTC by Laura Pardo
Modified: 2026-11-10 20:36 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Laura Pardo 2026-10-15 15:18:40 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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).

Comment 1 Fedora Admin user for bugzilla script actions 2026-11-10 20:36:42 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.


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