REDHAT-BUG-2563953: Buffer Overflow

Published Oct 30, 2026
·
Updated

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.

Affected Software

1 affected component
SQLite SQLite<3.54.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SQLite to a version that resolves this vulnerability.

    Fixed in 3.54.0

Event History

Oct 30, 2026
Data Sourced
via Red Hat·12:09 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using SQLite versions before 3.54.0 that were built with FTS5 are affected when they use a detail=none FTS5 table with prefix queries.

2

What access does an attacker need to trigger the overflow?

An attacker must be able to populate a detail=none FTS5 table with negative rowids and execute a prefix MATCH query against it.

3

What is the likely impact of successful exploitation?

The overflow writes past a heap allocation, which can corrupt heap memory and crash the affected process.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203