Loop with Unreachable Exit Condition ('Infinite Loop') Affecting node-re2 package, versions <1.26.1+~cs1.7.0-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.18% (8th 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-DEBIAN14-NODERE2-18485438
  • published31 Jul 2026
  • disclosed30 Jul 2026

Introduced: 30 Jul 2026

CVE-2026-68499  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Debian:14 node-re2 to version 1.26.1+~cs1.7.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-re2 package and not the node-re2 package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

re2 provides Node.js bindings for Google's RE2 regular expression engine. Prior to 1.25.2, re2's String.prototype.match implementation with a global RE2 pattern that can match the empty string fails to advance its native matching cursor in lib/match.cc, causing an infinite loop and unbounded native memory growth that blocks the event loop and can exhaust host memory. This issue is fixed in 1.25.2.