Skip to main content
VulnerabilityPublished

CVE-2026-77299: dlclark regexp2 · Uncontrolled Resource Consumption

Affects dlclark regexp2Source CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.5 High : upgrade to 2.3.0 soon.

Data as of 6 Nov 2026, 01:49 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.5
Patch
Available – fixed in 2.3.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.

What to do

Upgrade regexp2 and github.com/dlclark/regexp2 to 2.3.0.

Affected software

ProductAffectedFixed in
dlclarkregexp2Affected
  • <2.3.0
Fixed in
  • 2.3.0
Gogithub.com/dlclark/regexp2pkg:golang/github.com/dlclark/regexp2Other threatsAffected
  • <2.3.0
Fixed in
  • 2.3.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to dlclark regexp2 version 2.3.0 or later, where this vulnerability is patched. No other mitigations fully address the issue since MatchTimeout does not prevent the rapid memory allocation that leads to process termination.

Description

CVE-2026-77299 is a high-severity vulnerability in the dlclark regexp2 library for Go, affecting versions prior to 2.3.0. It involves uncontrolled resource consumption when compiling and matching patterns with large fixed-count quantifiers applied to zero-width subexpressions. This can cause the match engine to allocate multi-gigabyte memory, potentially leading to out-of-memory (OOM) termination of the process. The issue is patched in version 2.3.0.

References

Community reviews

Loading reviews…