Skip to content
Heist/ feed
Back to feed
Medium

node-re2 — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-71430

node-re2 provides RE2 regular expression bindings for Node.js. Prior to version 1.25.1, the WrappedRE2::Replace function built its replacement result and passed it to V8 using ToLocalChecked without checking for the empty MaybeLocal that V8 returns when the resulting string or buffer exceeds V8's maximum string length. When a global replace uses an output amplifying replacement template, the result can grow quadratically with the input size, and once the result exceeds V8's maximum string length, the unchecked ToLocalChecked call causes a fatal, uncatchable process abort instead of a catchable exception. This issue is fixed in version 1.25.1.

Products
node-re2
Affected versions
1.10.4-1, 1.10.5-1, 1.10.5-1build1, 1.15.9+~cs1.8.18-1, 1.15.9+~cs1.8.18-2, 1.16.0+~cs2.12.8-2, 1.17.1+~cs2.12.8-1, 1.17.2+~cs2.13.8-1, 1.17.3+~cs2.13.8-1, 1.18.0+~cs2.13.8-1build1, 1.19.2+~cs2.13.13-1build1, 1.20.10+~cs2.13.13-1, 1.22.1+~cs1.3.5-1, 1.22.1+~cs1.3.5-1build2, 1.22.1+~cs1.3.5-1build3, 1.23.3+~cs1.3.5-1, 1.25.0+~cs1.6.0-2, 1.26.1+~cs1.7.0-1
Fixed versions
Not specified
CVEs
CVE-2026-71430
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:14 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-71430

core-osv · Original source

Published 6 Aug 2026, 22:18 UTC

node-re2 provides RE2 regular expression bindings for Node.js. Prior to version 1.25.1, the WrappedRE2::Replace function built its replacement result and passed it to V8 using ToLocalChecked without checking for the empty MaybeLocal that V8 returns when the resulting string or buffer exceeds V8's maximum string length. When a global replace uses an output amplifying replacement template, the result can grow quadratically with the input size, and once the result exceeds V8's maximum string length, the unchecked ToLocalChecked call causes a fatal, uncatchable process abort instead of a catchable exception. This issue is fixed in version 1.25.1.

osv:UBUNTU-CVE-2026-71430

node-re2

Fixed versions: Not specified

node-re2

Fixed versions: Not specified

node-re2

Fixed versions: Not specified

node-re2

Fixed versions: Not specified

node-re2

Fixed versions: Not specified

Complete source record
{
  "id": "cf040961b08cee8d7695a544d2923020b8490a2a242846dabb153e6469e0c700",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-71430",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-71430",
    "summary": "node-re2 provides RE2 regular expression bindings for Node.js. Prior to version 1.25.1, the WrappedRE2::Replace function built its replacement result and passed it to V8 using ToLocalChecked without checking for the empty MaybeLocal that V8 returns when the resulting string or buffer exceeds V8's maximum string length. When a global replace uses an output amplifying replacement template, the result can grow quadratically with the input size, and once the result exceeds V8's maximum string length, the unchecked ToLocalChecked call causes a fatal, uncatchable process abort instead of a catchable exception. This issue is fixed in version 1.25.1.",
    "evidence": "osv:UBUNTU-CVE-2026-71430",
    "products": [
      {
        "name": {
          "value": "node-re2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.10.4-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.10.5-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.10.5-1build1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-re2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.15.9+~cs1.8.18-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.15.9+~cs1.8.18-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.16.0+~cs2.12.8-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.17.1+~cs2.12.8-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.17.2+~cs2.13.8-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.17.3+~cs2.13.8-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-re2",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.18.0+~cs2.13.8-1build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.19.2+~cs2.13.13-1build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.20.10+~cs2.13.13-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-re2",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.23.3+~cs1.3.5-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.25.0+~cs1.6.0-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.26.1+~cs1.7.0-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-re2",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.22.1+~cs1.3.5-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.22.1+~cs1.3.5-1build2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.22.1+~cs1.3.5-1build3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.23.3+~cs1.3.5-1",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-71430",
      "aliases": [
        "UBUNTU-CVE-2026-71430"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-re2",
            "purl": "pkg:deb/ubuntu/node-re2?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.10.4-1",
            "1.10.5-1",
            "1.10.5-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71430.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-re2",
                "binary_version": "1.10.5-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-re2",
            "purl": "pkg:deb/ubuntu/node-re2?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.15.9+~cs1.8.18-1",
            "1.15.9+~cs1.8.18-2",
            "1.16.0+~cs2.12.8-2",
            "1.17.1+~cs2.12.8-1",
            "1.17.2+~cs2.13.8-1",
            "1.17.3+~cs2.13.8-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71430.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-re2",
                "binary_version": "1.17.3+~cs2.13.8-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-re2",
            "purl": "pkg:deb/ubuntu/node-re2?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.18.0+~cs2.13.8-1build1",
            "1.19.2+~cs2.13.13-1build1",
            "1.20.10+~cs2.13.13-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71430.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-re2",
                "binary_version": "1.20.10+~cs2.13.13-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-re2",
            "purl": "pkg:deb/ubuntu/node-re2?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.23.3+~cs1.3.5-1",
            "1.25.0+~cs1.6.0-2",
            "1.26.1+~cs1.7.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71430.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-re2",
                "binary_version": "1.26.1+~cs1.7.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-re2",
            "purl": "pkg:deb/ubuntu/node-re2?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.22.1+~cs1.3.5-1",
            "1.22.1+~cs1.3.5-1build2",
            "1.22.1+~cs1.3.5-1build3",
            "1.23.3+~cs1.3.5-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71430.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-re2",
                "binary_version": "1.23.3+~cs1.3.5-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:00:43.452179554Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-71430"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-71430",
        "https://www.cve.org/CVERecord?id=CVE-2026-71430",
        "https://github.com/uhop/node-re2/security/advisories/GHSA-8hcv-x26h-mcgp"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-71430",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 360797,
  "published_at": "2026-08-06T22:18:00+00:00"
}