{"schemaVersion":4,"id":"CVE-2026-77299","aliases":["DEBIAN-CVE-2026-77299","UBUNTU-CVE-2026-77299","RHSA-2026:97885","RHSA-2026:98019","RHSA-2026:99590","openSUSE-SU-2026:12604-1"],"status":"published","duplicateOf":null,"title":"Regexp2: Unbounded memory amplification via large `{m}` quantifier on a zero-width subexpression","description":"Regexp2 is a feature-rich RegExp engine for Go. Prior to version 2.3.0, when regexp2 compiles and matches a pattern containing a large fixed-count quantifier applied to a zero-width subexpression — e.g. (?:){50000000} — the match engine executes the empty loop body m-1 times, pushing two integers onto the backtracking stack on every iteration. Because the parser accepts any repetition count up to math.MaxInt32 and the backtracking stack grows without bound, a pattern of fewer than 20 bytes matched against an empty input can force multi-gigabyte allocation and OOM-kill the process. MatchTimeout does not fully mitigate this because the memory is allocated faster than the 100 ms timeout clock can fire. This issue has been patched in version 2.3.0.","dates":{"published":"2026-11-06T01:28:58.685Z","modified":"2026-11-06T17:43:52.421Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.00514,"percentile":0.45306,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-06T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00514,"percentile":0.45306}],"last30":[{"date":"2026-11-06T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00346,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00609,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00514,"percentile":0.45306}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"debian","product":"golang-github-dlclark-regexp2","name":"golang-github-dlclark-regexp2","label":"golang-github-dlclark-regexp2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/golang-github-dlclark-regexp2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 1.11.0+ds1-2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.11.0+ds1-2","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 1.11.0+ds1-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"golang-github-dlclark-regexp2","name":"golang-github-dlclark-regexp2","label":"golang-github-dlclark-regexp2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/golang-github-dlclark-regexp2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"dlclark","product":"regexp2","name":"regexp2","label":"regexp2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.3.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.3.0","endInclusive":false}}],"versionsText":"< 2.3.0","eol":null,"hubHref":"/vendor/dlclark/regexp2"},{"vendor":"opensuse","product":"argocd-cli&distro=openSUSE Tumbleweed","name":"argocd-cli","label":"argocd-cli&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/argocd-cli&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 3.6.2-1.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.6.2-1.1","endInclusive":false}}],"versionsText":"< 3.6.2-1.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"hugo","name":"hugo","label":"hugo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/hugo","purlType":"rpm","versions":[{"text":"< 0:0.169.0-0.2.hum1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0:0.169.0-0.2.hum1","endInclusive":false}}],"versionsText":"< 0:0.169.0-0.2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"loki3.6","name":"loki3.6","label":"loki3.6","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/loki3.6","purlType":"rpm","versions":[{"text":"< 0:3.6.20-0.2.hum1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0:3.6.20-0.2.hum1","endInclusive":false}}],"versionsText":"< 0:3.6.20-0.2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"loki3.6-canary","name":"loki3.6-canary","label":"loki3.6-canary","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/loki3.6-canary","purlType":"rpm","versions":[{"text":"< 0:3.6.20-0.2.hum1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0:3.6.20-0.2.hum1","endInclusive":false}}],"versionsText":"< 0:3.6.20-0.2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"loki3.6-logcli","name":"loki3.6-logcli","label":"loki3.6-logcli","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/loki3.6-logcli","purlType":"rpm","versions":[{"text":"< 0:3.6.20-0.2.hum1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0:3.6.20-0.2.hum1","endInclusive":false}}],"versionsText":"< 0:3.6.20-0.2.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"trivy","name":"trivy","label":"trivy","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/trivy","purlType":"rpm","versions":[{"text":"< 0:0.76.1-0.3.hum1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0:0.76.1-0.3.hum1","endInclusive":false}}],"versionsText":"< 0:0.76.1-0.3.hum1","eol":null,"hubHref":null}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/dlclark/regexp2/security/advisories/GHSA-wq9v-j77v-qr26","label":"github.com/dlclark/regexp2/security/advisories/GHSA-wq9v-j77v-qr26","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","ARTICLE"]},{"url":"https://github.com/dlclark/regexp2/commit/6e446cb3a57a0f20112bc24353604fd00bdb309a","label":"github.com/dlclark/regexp2/commit/6e446cb3a57a0f20112bc24353604fd00bdb309a","hostname":"github.com","tags":["X Refsource MISC","REPORT","ARTICLE"]},{"url":"https://github.com/dlclark/regexp2/releases/tag/v2.3.0","label":"github.com/dlclark/regexp2/releases/tag/v2.3.0","hostname":"github.com","tags":["X Refsource MISC","REPORT","ARTICLE"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-77299","label":"security-tracker.debian.org/tracker/CVE-2026-77299","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-77299","label":"ubuntu.com/security/CVE-2026-77299","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-77299","label":"www.cve.org/CVERecord?id=CVE-2026-77299","hostname":"www.cve.org","tags":["REPORT","Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:97885","label":"access.redhat.com/errata/RHSA-2026:97885","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-77299","label":"access.redhat.com/security/cve/CVE-2026-77299","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://access.redhat.com/security/updates/classification/","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://images.redhat.com/","label":"images.redhat.com","hostname":"images.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_97885.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_97885.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2568017","label":"bugzilla.redhat.com/show_bug.cgi?id=2568017","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77299","label":"nvd.nist.gov/vuln/detail/CVE-2026-77299","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:98019","label":"access.redhat.com/errata/RHSA-2026:98019","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_98019.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_98019.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:99590","label":"access.redhat.com/errata/RHSA-2026:99590","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_99590.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_99590.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-77299","label":"www.suse.com/security/cve/CVE-2026-77299","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-103025","label":"access.redhat.com/security/cve/CVE-2026-103025","hostname":"access.redhat.com","tags":["ARTICLE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-06T01:28:58.685Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-06T17:43:52.421Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability: affected before 2.3.0 (CNA); fix release not confirmed","rank":[0,0,0,0,1,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00514,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-06T17:43:52.421Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-06T17:43:52.421Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-11-06T17:43:52.421Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-06T17:43:52.421Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_red_hat","date":"2026-11-06T17:43:52.421Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-06T17:43:22.051Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"}],"epss":{"value":0.00514,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T09:01:26.874Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T09:01:27.430Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T09:01:27.610Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T09:01:02.756Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T09:01:25.188Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T09:01:24.136Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T09:57:31.148Z","stale":false,"partial":false}}