Vulnerability · Published Jul 30, 2026 · Assigned by GitHub_M

CVE-2026-68499re2: Global `String.prototype.match` with an empty-matchable pattern never advances → infinite loop with unbounded native memory growth (DoS)

Medium 6.2

In plain English

A medium-severity infinite loop in node-re2 from uhop. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.2%top 92.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-re2no fix listedDEBIAN-CVE-2026-68499
Debian:13node-re2no fix listedDEBIAN-CVE-2026-68499
Debian:14node-re21.26.1+~cs1.7.0-1DEBIAN-CVE-2026-68499
Ubuntu:22.04:LTSnode-re2no fix listedUBUNTU-CVE-2026-68499
Ubuntu:24.04:LTSnode-re2no fix listedUBUNTU-CVE-2026-68499
Ubuntu:26.04:LTSnode-re2no fix listedUBUNTU-CVE-2026-68499
Ubuntu:26.10node-re2no fix listedUBUNTU-CVE-2026-68499
npmre21.25.2GHSA-6hxr-mr5r-9836

Affected products (as reported)

VendorProductVersions
uhop node-re2 < 1.25.2

Weakness: CWE-835 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References