Integer Overflow and Buffer Overflow in SQLite FTS3 Merge Operation

Integer Overflow and Buffer Overflow in SQLite FTS3 Merge Operation

CVE-2018-20506 · MEDIUM Severity

AV:N/AC:M/AU:N/C:P/I:P/A:P

SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an integer overflow (and resultant buffer overflow) for FTS3 queries in a "merge" operation that occurs after crafted changes to FTS3 shadow tables, allowing remote attackers to execute arbitrary code by leveraging the ability to run arbitrary SQL statements (such as in certain WebSQL use cases). This is a different vulnerability than CVE-2018-20346.

Learn more about our Web App Pen Testing.