Every CVE Search/ Get API key

CVE-2022-23901

A stack overflow re2c 2.2 exists due to infinite recursion issues in src/dfa/dead_rules.cc.

9.8 CriticalFix available

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

1.59%Up 0.7 points since Mar 30, 2022
90%50%10%1%

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 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
re2c
Azure Linux:2
through 2.0-1 None known
re2c
Azure Linux:3
before 3.1-4
3.1-4
re2c
Debian:12
before 3.0-1
3.0-1
re2c
Debian:13
before 3.0-1
3.0-1
re2c
Debian:14
before 3.0-1
3.0-1
re2c
Ubuntu:14.04:LTS
All versions, plus listed versions
0.13.5-1build2
None known
re2c
Ubuntu:16.04:LTS
All versions, plus listed versions
0.13.5-1build20.15.3-1ubuntu10.16-1
None known
re2c
Ubuntu:18.04:LTS
All versions, plus listed versions
1.0.1-1
None known
re2c
Ubuntu:20.04:LTS
All versions, plus listed versions
1.2.1-11.3-11.3-1build11.3-1ubuntu0.1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

MoveEnter Open