CVE-2026-119378

SQLite before 3.54.0 Use-After-Free in R-Tree nodeWrite()

Published Oct 30, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

SQLite before version 3.54.0 contains a use‑after‑free flaw in the R‑Tree extension. A crafted database that declares the %_node table without a ROWID or with a RAISE(IGNORE) trigger forces nodeWrite() to hash nodes as zero, causing the program to access freed heap memory. This results in a crash after a node split, effectively denying service and potentially corrupting memory if a malicious process can influence the memory layout.

Affected Systems

SQLite 3.x engine on all platforms. Versions older than 3.54.0 are affected; upgrading to 3.54.0 or later removes the vulnerability.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate severity. Because the vulnerability requires manipulation of the database file, the attack vector is inferred to be via an application that loads untrusted or user‑supplied databases. Remote exploitation would need to funnel a malicious database to the target application, and local or privileged access is less likely to be required. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting no known active exploitation. Nevertheless, the presence of a use‑after‑free condition is significant for applications that handle potentially untrusted data.

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 an upgrade is not immediately possible, avoid creating or loading %_node tables without a ROWID or with a RAISE(IGNORE) trigger as a temporary mitigation.
  • Implement application‑level schema validation that rejects %_node tables lacking a ROWID or containing RAISE(IGNORE) triggers before the database is loaded.

Generated by OpenCVE AI on October 31, 2026 at 02:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat
Redhat hummingbird
Weaknesses CWE-825
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 30, 2026, 3:56 PM
Reserved
Oct 30, 2026, 12:57 AM
Status
Analyzed
Published
Oct 30, 2026, 12:16 PM
Modified
Nov 3, 2026, 3:39 PM
Severity
Moderate
Public date
Oct 30, 2026, 11:30 AM