CVE-2026-119378: SQLite before 3.54.0 Use-After-Free in R-Tree nodeWrite()

Published Oct 30, 2026
·
Updated

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.

Other sources

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

— Microsoft

Affected Software

21 affected componentsFixes available
SQLite SQLite<3.54.0
ubuntu/sqlite*
ubuntu/sqlite3*
ubuntu/sqlite3*
ubuntu/sqlite*
ubuntu/sqlite3*
ubuntu/sqlite*
ubuntu/sqlite3*
ubuntu/sqlite*
ubuntu/sqlite*
ubuntu/sqlite3*
ubuntu/sqlite3*
ubuntu/sqlite3*
ubuntu/sqlite3*
debian/sqlite3*
debian/sqlite3*
debian/sqlite3<3.54.1-1
3.54.1-1
bitnami/sqlite<3.54.0
3.54.0
debian/sqlite3<=3.40.1-2+deb12u2, <=3.46.1-7+deb13u2
3.54.1-1
All of the following
azurelinux/sqlite<3.44.0-5
3.44.0-5
Microsoft Azure Linux=3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/sqlite3 to a version that resolves this vulnerability.

    Fixed in 3.54.1-1
  2. Upgrade

    Upgrade bitnami/sqlite to a version that resolves this vulnerability.

    Fixed in 3.54.0
  3. Upgrade

    Upgrade azurelinux/sqlite to a version that resolves this vulnerability.

    Fixed in 3.44.0-5

Event History

Oct 30, 2026
CVE Published
via MITRE·11:30 AM
Data Sourced
via MITRE·11:30 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:16 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·12:59 PM
DescriptionSeverityAffected Software
Oct 31, 2026
Data Sourced
via Microsoft·08:05 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:05 AM
Affected Software
Nov 1, 2026
Data Sourced
via OSV·10:00 AM
Affected Software
Nov 3, 2026
Data Sourced
via NVD·03:39 PM
RemedyAffected Software
Nov 12, 2026
Updated
via OSV·11:00 PM
Affected Software
Nov 17, 2026
Advisory Published
via OSV·12:00 PM

Frequently Asked Questions

1

Which applications are realistically exposed?

Applications using SQLite versions before 3.54.0 with the R-Tree extension are exposed when an attacker can supply or modify a database schema containing the R-Tree %_node shadow table. The described attack relies on a %_node table declared WITHOUT ROWID or equipped with a RAISE(IGNORE) trigger.

2

What does an attacker need to trigger the issue?

The attacker needs to manipulate the R-Tree %_node shadow table so that nodeWrite() hashes nodes as 0. The crash occurs after R-Tree node splits, so the affected application must perform operations that cause a node split.

3

Is this a remote unauthenticated vulnerability?

No. The supplied vector lists local attack access and user interaction as required. The available data describes exploitation through a crafted or manipulated SQLite database rather than a network-facing SQLite service.

4

What can be done if upgrading is not immediately possible?

Do not open or permit modification of attacker-controlled SQLite databases that use R-Tree tables, especially databases whose %_node shadow table is WITHOUT ROWID or has a RAISE(IGNORE) trigger. Limit access to database files and prevent untrusted SQL or schema changes.

5

How can I determine whether a database is a potential trigger?

Inspect R-Tree %_node shadow-table definitions for a WITHOUT ROWID declaration or RAISE(IGNORE) trigger. Databases with either condition may cause nodeWrite() to hash nodes as 0 under the described conditions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203