CVE-2026-68499
MEDIUM 6.2CVSS 3.1re2: Global `String.prototype.match` with an empty-matchable pattern never advances → infinite loop with unbounded native memory growth (DoS)
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.
- Published
- 30 Jul 2026
- Last modified
- 23 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-835
- Also known as
- GHSA-6hxr-mr5r-9836
- Sources
- NVDJSONOSV GHSA-6hxr-mr5r-9836JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | re2 | < 1.25.2 | 1.25.2 |
References
- https://github.com/uhop/node-re2/commit/56293de4fc0914d7bc35f92e98de25b0d9bb417d · WEB
- https://github.com/uhop/node-re2/releases/tag/1.25.2 · WEB
- https://github.com/uhop/node-re2/security/advisories/GHSA-6hxr-mr5r-9836 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-68499 · ADVISORY
- https://github.com/uhop/node-re2 · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 30 Jul 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 31 Jul 2026)