Time-of-check Time-of-use (TOCTOU) Affecting nodejs22-npm package, versions <0:10.9.8-1.22.23.2.2.3.hum1


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.29% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-NODEJS22NPM-20992168
  • published16 Oct 2026
  • disclosed4 Aug 2026

Introduced: 4 Aug 2026

CVE-2026-58041  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade RHEL:10 nodejs22-npm to version 0:10.9.8-1.22.23.2.2.3.hum1 or higher.
This issue was patched in RHSA-2026:48305.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs22-npm package and not the nodejs22-npm package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1