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

- Severity: Medium 6.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-30T20:07:01.147Z
- Modified: 2026-10-23T22:10:00.160Z
- Also known as: GHSA-6hxr-mr5r-9836
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- uhop node-re2: < 1.25.2
- re2 (npm): before 1.25.2

## Every score

- GitHub_M: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/uhop/node-re2/security/advisories/GHSA-6hxr-mr5r-9836> (exploit, web)
- <https://github.com/uhop/node-re2/commit/56293de4fc0914d7bc35f92e98de25b0d9bb417d> (web)
- <https://github.com/uhop/node-re2/releases/tag/1.25.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-68499> (advisory)
- <https://github.com/uhop/node-re2> (package)

## Sources

- CVE List: [CVE-2026-68499](https://www.cve.org/CVERecord?id=CVE-2026-68499), CVE Terms of Use, modified 2026-07-31
- GitHub Advisory Database: [GHSA-6hxr-mr5r-9836](https://github.com/advisories/GHSA-6hxr-mr5r-9836), CC-BY-4.0, modified 2026-07-31
- NVD: [CVE-2026-68499](https://nvd.nist.gov/vuln/detail/CVE-2026-68499), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-68499 · Whole record: https://cve.day/CVE-2026-68499.json · Rebuilt by cve.day 2026-11-25T22:59:30.663Z
