Bug 2553536 - sqlite: sqlite: heap buffer overflow in FTS5 rowid list merging [fedora-all]
Summary: sqlite: sqlite: heap buffer overflow in FTS5 rowid list merging [fedora-all]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sqlite
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Petr Khartskhaev
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:17 UTC by Laura Pardo
Modified: 2026-11-25 01:51 UTC (History)
4 users (show)

Fixed In Version: sqlite-3.50.2-4.fc43 sqlite-3.51.2-3.fc44
Clone Of:
Environment:
Last Closed: 2026-11-24 01:47:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2026-10-15 15:17:24 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 Update System 2026-11-20 10:43:08 UTC
FEDORA-2026-95f1a4f58d (sqlite-3.51.2-3.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-95f1a4f58d

Comment 2 Fedora Update System 2026-11-20 10:43:45 UTC
FEDORA-2026-fc7eaee44a (sqlite-3.50.2-4.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-fc7eaee44a

Comment 3 Fedora Update System 2026-11-21 02:30:48 UTC
FEDORA-2026-95f1a4f58d has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-95f1a4f58d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-95f1a4f58d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-11-21 02:56:37 UTC
FEDORA-2026-fc7eaee44a has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-fc7eaee44a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-fc7eaee44a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-11-24 01:47:41 UTC
FEDORA-2026-fc7eaee44a (sqlite-3.50.2-4.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-11-25 01:51:13 UTC
FEDORA-2026-95f1a4f58d (sqlite-3.51.2-3.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


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