CVE Program
CNA-CVE-2026-58041
Details
A flaw in Node.js node:sqlite allows a stale StatementSyncIterator created through DatabaseSync#createTagStore() to continue executing a cached prepared statement after it has been reset and rebound with new parameters. SQLTagStore resets cached statements using sqlite3_reset() directly, bypassing the iterator invalidation mechanism introduced for StatementSync in recent releases
This vulnerability affects Node.js 22.x, 24.x, and 26.x.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Node.js | node | From 22.0.0 up to and including 22.23.1 From 24.0.0 up to and including 24.18.0 From 26.0.0 up to and including 26.5.0 |