SQLite denial of service via use-after-free in R-Tree extension
SQLite
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| SQLite SQLite All platforms where SQLITE_ENABLE_RTREE (or SQLITE_ENABLE_GEOPOLY) is defined |
| No fix yet |
Original 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.
From the CVE record · VulnCheck