Description
SQLite before 3.54.0 contains a use-after-free vulnerability in the R-Tree extension that allows attackers to make applications use freed heap memory by manipulating the %_node shadow table. Attackers can supply a database declaring %_node WITHOUT ROWID or with a RAISE(IGNORE) trigger so nodeWrite() hashes nodes as 0, crashing the process after node splits.
Published: 2026-10-30
Score: 6.8 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Patch Immediately
AI Analysis

Impact

SQLite before version 3.54.0 contains a use‑after‑free flaw in its R‑Tree extension. When a database is crafted with a %_node table that has no ROWID or a RAISE(IGNORE) trigger, the nodeWrite() routine hashes nodes to zero and later tries to access freed heap memory. This results in a program crash after a node split and can lead to denial of service or memory‑corruption conditions.

Affected Systems

SQLite for all platforms, specifically the SQLite 3.x engine. Versions earlier than 3.54.0 are affected; upgrades to version 3.54.0 or later eliminate the flaw.

Risk and Exploitability

The CVSS score is 6.8, giving the flaw moderate severity. EPSS is unavailable and the issue is not in the CISA KEV catalog, which suggests no active exploitation is known. However, the use‑after‑free weakness could still be abused if an attacker can supply a malicious database file that an application loads. Because the vulnerability is triggered through database manipulation, the attack vector most likely requires local or application‑controlled data input; remote exploitation would need opportunity to influence the database. The risk is therefore moderate but significant for applications that load untrusted databases.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the SQLite library to version 3.54.0 or later.
  • If upgrading is not immediately possible, avoid providing %_node tables with no ROWID or a RAISE(IGNORE) trigger to the vulnerable application as a temporary mitigation.
  • Add application-level validation to detect and reject schemas that define %_node tables lacking ROWID or containing RAISE(IGNORE) triggers before loading the database.

Generated by OpenCVE AI on October 30, 2026 at 12:52 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 contains a use-after-free vulnerability in the R-Tree extension that allows attackers to make applications use freed heap memory by manipulating the %_node shadow table. Attackers can supply a database declaring %_node WITHOUT ROWID or with a RAISE(IGNORE) trigger so nodeWrite() hashes nodes as 0, crashing the process after node splits.
Title SQLite before 3.54.0 Use-After-Free in R-Tree nodeWrite()
First Time appeared Sqlite
Sqlite sqlite
Weaknesses CWE-416
CPEs cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*
Vendors & Products Sqlite
Sqlite sqlite
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

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

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

Link: CVE-2026-119378

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-119378

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses