Buffer Overflow Affecting re2c package, versions [,3.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-RE2C-10078262
  • published8 May 2025
  • disclosed30 Mar 2022
  • creditUnknown

Introduced: 30 Mar 2022

CVE-2022-23901  (opens in a new tab)
CWE-119  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade re2c to version 3.0 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow due to infinite recursion issues in src/dfa/dead_rules.cc.

CVSS Base Scores

version 3.1