Skip to content
Heist/ feed
Back to feed
Medium

node-re2 — security advisory

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

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.

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-68499
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:50 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-68499

core-osv · Original source

Published 30 Jul 2026, 21:18 UTC

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.

osv:UBUNTU-CVE-2026-68499

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": "e6a45aa94ff81738e22731b47a5687ed86146bb8d8676b91386b627e7ebd6263",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-68499",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-68499",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-68499",
    "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-68499",
      "aliases": [
        "UBUNTU-CVE-2026-68499"
      ],
      "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-68499.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-68499.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-68499.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-68499.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-68499.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-re2",
                "binary_version": "1.23.3+~cs1.3.5-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:20.679302329Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-68499"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-68499",
        "https://www.cve.org/CVERecord?id=CVE-2026-68499",
        "https://github.com/uhop/node-re2/security/advisories/GHSA-6hxr-mr5r-9836"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-68499",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359623,
  "published_at": "2026-07-30T21:18:00+00:00"
}