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.
Published: 2026-10-30
Score: 8.5 High
EPSS: n/a
KEV: No
Impact: Heap memory corruption that can lead to remote code execution
Action: Immediate Patch
AI Analysis

Impact

SQLite versions built with the session extension before 3.54.0 contain a heap buffer overflow in sqlite3changeset_apply(). When a table name is repeated in a subsequent changeset block with a larger column count, the function sessionUpdateFind() performs a memset past the undersized aUpdateMask allocation. This memory corruption can be leveraged by an attacker to overwrite arbitrary heap data, potentially enabling arbitrary code execution or causing a denial‑of‑service failure.

Affected Systems

The vulnerability affects all SQLite installations that include the session extension and are running a version older than 3.54.0. This includes commonly used SQLite libraries compiled with the session module in the 3.53.x series and earlier.

Risk and Exploitability

The CVSS score of 8.5 classifies the issue as high severity, and the EPSS score is not available, so current exploitation probability is unknown. The vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is through crafted changesets supplied to an application that uses the session extension; an attacker with the ability to influence changeset content can trigger the overflow. If the application accepts changesets from remote users, the vulnerability could be exploited remotely; otherwise it requires local or privileged access to supply the crafted changeset.

Generated by OpenCVE AI on October 30, 2026 at 12:25 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to SQLite 3.54.0 or later
  • If upgrading is not possible, rebuild SQLite without the session extension
  • Validate changeset inputs or apply a vendor patch that safeguards the update mask allocation

Generated by OpenCVE AI on October 30, 2026 at 12:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 11:45:00 +0000

Type Values Removed Values Added
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.
Title SQLite before 3.54.0 Heap Buffer Overflow via Session Extension sessionUpdateFind()
First Time appeared Sqlite
Sqlite sqlite
Weaknesses CWE-787
CPEs cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*
Vendors & Products Sqlite
Sqlite sqlite
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-30T11:30:43.335Z

Reserved: 2026-10-30T00:57:06.710Z

Link: CVE-2026-119379

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-30T12:16:36.967

Modified: 2026-10-30T12:16:36.967

Link: CVE-2026-119379

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T13:00:14Z

Weaknesses