Bug 2553538

Summary: qt6-qtwebengine: sqlite: heap buffer overflow in FTS5 rowid list merging [epel-all]
Product: [Fedora] Fedora EPEL Reporter: Laura Pardo <lpardo>
Component: qt6-qtwebengineAssignee: Troy Dawson <tdawson>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: epel10CC: jgrulich, kde-sig, tdawson
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["c5be2748-7d17-4dac-b0d9-dd5a33c180be"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2552461    

Description Laura Pardo 2026-10-15 15:17:39 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).