Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-77299 →
Unrated

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 qua...

UBUNTU-CVE-2026-77299 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Ubuntu:18.04:LTSgolang-github-dlclark-regexp2
All versions→ Not listed
Ubuntu:20.04:LTSgolang-github-dlclark-regexp2
All versions→ Not listed
Ubuntu:22.04:LTSgolang-github-dlclark-regexp2
All versions→ Not listed
Ubuntu:24.04:LTSgolang-github-dlclark-regexp2
All versions→ Not listed
Ubuntu:26.10golang-github-dlclark-regexp2
All versions→ Not listed
Ubuntu:26.04:LTSgolang-github-dlclark-regexp2
All versions→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details