CVE-2026-119378: SQLite use-after-free in R-Tree extension

CVE-2026-119378 · Severity: medium · CVSS 5.5 · Published 2026-10-30

SQLite is a widely-deployed embedded database engine used in mobile phones, computers, and countless applications. A use-after-free vulnerability in its R-Tree spatial indexing extension allows an attacker to crash applications by supplying specially crafted database files that manipulate internal node structures, causing the database to reference freed memory and crash the process.

Technologies: Sqlite. Vendors: SQLite.

Quick answers

Is CVE-2026-119378 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-119378 being exploited in the wild.
How severe is CVE-2026-119378?
Medium severity, with a CVSS score of 5.5, published 30 October 2026.
Which products and versions are affected?
Sqlite before 3.54.0.
Is there a fix for CVE-2026-119378?
Yes: fixed in SQLite 3.54.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-119378 attacked?
It is attacked with local access, in a software library.
Am I affected by CVE-2026-119378?
Check whether you run Sqlite at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: SQLite 3.54.0

Technical details

The vulnerability is a use-after-free flaw in the R-Tree extension's nodeWrite() function, triggered when an attacker manipulates the %_node shadow table—either by declaring it WITHOUT ROWID or by attaching a RAISE(IGNORE) trigger. This causes nodes to be hashed as 0, leading to memory corruption after node splits. The attack requires the ability to supply a specially crafted SQLite database file; no authentication or network access is required.

Affected products

  • SQLite SQLite before 3.54.0

Timeline

  • 2026-10-30: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.