First published: Tue Nov 05 2019(Updated: )
In SQLite through 3.29.0, whereLoopAddBtreeIndex in sqlite3.c can crash a browser or other application because of missing validation of a sqlite_stat1 sz field, aka a "severe division by zero in the query planner." References: <a href="https://www.mail-archive.com/sqlite-users@mailinglists.sqlite.org/msg116312.html">https://www.mail-archive.com/sqlite-users@mailinglists.sqlite.org/msg116312.html</a> <a href="https://www.sqlite.org/src/info/e4598ecbdd18bd82945f6029013296690e719a62">https://www.sqlite.org/src/info/e4598ecbdd18bd82945f6029013296690e719a62</a>
Affected Software | Affected Version | How to fix |
---|---|---|
SQLite JDBC | <=3.29.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-1768986 is considered severe due to a potential division by zero error in the query planner.
REDHAT-BUG-1768986 can cause crashes in browsers or applications that use SQLite due to improper validation.
SQLite versions up to and including 3.29.0 are affected by REDHAT-BUG-1768986.
Mitigation for REDHAT-BUG-1768986 involves upgrading SQLite to a version later than 3.29.0.
REDHAT-BUG-1768986 involves missing validation of a sqlite_stat1 sz field, leading to potential crashes.