5.3Medium

CVE-2026-58041

nodejs node Published: (3 months ago)

Description

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**.

Weakness (CWE): CWE-367

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
nodejs node 22.23.1 – ≤ 22.23.1, 24.18.0 – ≤ 24.18.0, 26.5.0 – ≤ 26.5.0

References and patches