npmWorst: Moderate4 advisories
re2: known vulnerabilities
re2 has 4 reviewed security advisories in the GitHub Advisory Database — 4 moderate. The most recent was published 2026-08-06. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the re2 versions running across your servers, containers and images, and ranks what to patch first.
How to fix re2
Upgrade re2 to a release at or above the fixed version shown for each advisory below. For npm:
npm install re2@1.25.1 (or run npm audit fix)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (4)
node-re2: String.prototype.replace(re2, template) aborts the Node process (uncatchable ToLocalChecked on empty MaybeLocal) when the result exceeds V8's max string length
Moderate 6.2 CWE-617
— Affected: before 1.25.1. Fixed in 1.25.1. Published 2026-08-06. GHSA-8hcv-x26h-mcgp · CVE-2026-71430
node-re2: Out-of-bounds heap read in `replace`/`split` via a `Buffer` ending in a truncated multi-byte UTF-8 character → adjacent heap memory disclosed to JavaScript
Moderate 5.1 CWE-125
— Affected: before 1.26.1. Fixed in 1.26.1. Published 2026-08-06. GHSA-j4r3-hg7j-8chg · CVE-2026-71498
re2: Global `String.prototype.match` with an empty-matchable pattern never advances → infinite loop with unbounded native memory growth (DoS)
Moderate 6.2 CWE-835
— Affected: before 1.25.2. Fixed in 1.25.2. Published 2026-07-30. GHSA-6hxr-mr5r-9836 · CVE-2026-68499
re2: Out-of-bounds heap read in `exec`/`test`/`match` via attacker-influenced `lastIndex` on a non-ASCII subject → uncatchable process crash (DoS)
Moderate 5.7 CWE-125
— Affected: before 1.25.2. Fixed in 1.25.2. Published 2026-07-30. GHSA-ff84-5f28-78qj · CVE-2026-67550
Find re2 across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.