Description
SQLite before 3.54.0 built with the session extension contains a heap buffer overflow vulnerability in sqlite3changeset_apply() that allows attackers to corrupt heap memory by supplying crafted changesets. Attackers can repeat a table name in a second changeset block with a larger column count, causing sessionUpdateFind() to memset past the undersized aUpdateMask allocation.
Severity (CVSS)
| Base score | 8.5 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-787 — Out-of-bounds Write
Affected products
| Vendor | Product | Versions |
|---|---|---|
| SQLite | SQLite | 0 to <3.54.0 [affected] |
References
- https://sqlite.org/bugs/info/2026-08-16T10:15:25Z (issue-tracking)
- https://sqlite.org/src/info/3f57024aecea0f3b (patch)
- https://github.com/sqlite/sqlite/commit/64459c87cc702d600704fb77ee40ca1782398a52 (patch)
- https://github.com/sqlite/sqlite/blob/version-3.53.4/ext/session/sqlite3session.c#L5619 (technical-description)
- https://sqlite.org/releaselog/3_54_0.html (release-notes)
- https://abraxaslabs.tech/research/sqlite-session-ncol (third-party-advisory)
- https://github.com/sqlite/sqlite (product)
- https://www.vulncheck.com/advisories/sqlite-before-3.54.0-heap-buffer-overflow-via-session-extension-sessionupdatefind (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 31 Oct 2026 07:01 UTC.