sqlite3 is vulnerable to Out-of-bounds Read
61
CVE Score
Medium
Out-of-bounds Read
The SQLite Session Extension over-reads a buffer when merging a corrupt changeset. sessionVarintGet() decodes a varint without clearing the sign bit, so a truncated high-bit varint makes sqlite3changeset_concat() and sqlite3changegroup_add() read past the changeset and copy adjacent bytes into the output. The leak is small (four bytes in the published proof of concept) and can also crash the process. The fix masks the decoded value with 0x7FFFFFFF and returns SQLITE_CORRUPT.
Upgrade sqlite3 to version 3.53.4 or later. If you cannot upgrade, do not feed untrusted changesets to the Session Extension.
You are affected if you use a vulnerable version built with the Session Extension and pass untrusted changesets to sqlite3changeset_concat() or sqlite3changegroup_add(). Builds that omit the extension are not affected.
3.13.0 - 3.53.4
Fixed in 3.54.0sqlite3 is vulnerable to Out-of-bounds Read in versions 3.13.0 - 3.53.4.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.