CVE-2022-23901
A stack overflow re2c 2.2 exists due to infinite recursion issues in src/dfa/dead_rules.cc.
A stack overflow re2c 2.2 exists due to infinite recursion issues in src/dfa/dead_rules.cc.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
A stack overflow re2c 2.2 exists due to infinite recursion issues in src/dfa/dead_rules.cc.
- Record
CVE-2022-23901- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
A stack overflow re2c 2.2 exists due to infinite recursion issues in src/dfa/dead_rules.cc.
- Record
CVE-2022-23901- Updated
- 2026-11-02
EUVDEUVD-2022-28823 No score
A stack overflow re2c 2.2 exists due to infinite recursion issues in src/dfa/dead_rules.cc.
- Record
EUVD-2022-28823- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-37h7-52mc-gc3m
9.8
A stack overflow re2c 2.2 exists due to infinite recursion issues in src/dfa/dead_rules.cc.
A stack overflow re2c 2.2 exists due to infinite recursion issues in src/dfa/dead_rules.cc.
- Record
GHSA-37h7-52mc-gc3m- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVAZL-43948
9.8
CVE-2022-23901 affecting package re2c 2.0-1
A stack overflow re2c 2.2 exists due to infinite recursion issues in src/dfa/dead_rules.cc.
- Record
AZL-43948- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVAZL-45369
9.8
CVE-2022-23901 affecting package re2c for versions less than 3.1-4
A stack overflow re2c 2.2 exists due to infinite recursion issues in src/dfa/dead_rules.cc.
- Record
AZL-45369- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-23901
9.8
A stack overflow re2c 2.2 exists due to infinite recursion issues in src/dfa/dead_rules.cc.
- Record
DEBIAN-CVE-2022-23901- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVUBUNTU-CVE-2022-23901
9.8
A stack overflow re2c 2.2 exists due to infinite recursion issues in src/dfa/dead_rules.cc.
- Record
UBUNTU-CVE-2022-23901- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV No score
A stack overflow re2c 2.2 exists due to infinite recursion issues in src/dfa/dead_rules.cc.
- Record
CVE-2022-23901- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
re2cAzure Linux:2 |
through 2.0-1 | None known |
re2cAzure Linux:3 |
before 3.1-4 | 3.1-4 |
re2cDebian:12 |
before 3.0-1 | 3.0-1 |
re2cDebian:13 |
before 3.0-1 | 3.0-1 |
re2cDebian:14 |
before 3.0-1 | 3.0-1 |
re2cUbuntu:14.04:LTS |
All versions, plus listed versions 0.13.5-1build2 |
None known |
re2cUbuntu:16.04:LTS |
All versions, plus listed versions 0.13.5-1build20.15.3-1ubuntu10.16-1 |
None known |
re2cUbuntu:18.04:LTS |
All versions, plus listed versions 1.0.1-1 |
None known |
re2cUbuntu:20.04:LTS |
All versions, plus listed versions 1.2.1-11.3-11.3-1build11.3-1ubuntu0.1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-23901 is a critical vulnerability (CVSS 9.8) in Re2c, published March 29, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.59%, the 75th percentile. Fixed in re2c 3.1-4.
References
github.com/skvadrik/re2c/issues/394
nvd.nist.gov/vuln/detail/CVE-2022-23901
github.com/advisories/GHSA-37h7-52mc-gc3m
github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23901.json
security-tracker.debian.org/tracker/CVE-2022-23901
ubuntu.com/security/CVE-2022-23901
github.com/skvadrik/re2c/commit/a3473fd7be829cb33907cb08612f955133c70a96
github.com/skvadrik/re2c/commit/039c18949190c5de5397eba504d2c75dad2ea9ca
cve.org/CVERecord?id=CVE-2022-23901