Intel

AIKIDO-2026-688267

sqlite3 is vulnerable to Out-of-bounds Read

CVE-2026-50813Published 5 days ago
November 5, 2026

61

CVE Score

Medium

Out-of-bounds Read

Are you affected? Scan for Free

TL;DR

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.

How do I fix this?

Upgrade sqlite3 to version 3.53.4 or later. If you cannot upgrade, do not feed untrusted changesets to the Session Extension.

Who does this affect?

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.

Package

sqlite3

Versions

3.13.0 - 3.53.4

Fixed in 3.54.0

Background info

sqlite3 is vulnerable to Out-of-bounds Read in versions 3.13.0 - 3.53.4.

Get secure today,
quickly and for free.

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.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea