Buffer Overflow Affecting re2c package, versions [,2.0.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th 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-10078260
  • published8 May 2025
  • disclosed29 Apr 2020
  • creditUnknown

Introduced: 29 Apr 2020

CVE-2018-21232  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade re2c to version 2.0.3 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow re2c before 2.0 has uncontrolled recursion that causes stack consumption in find_fixed_tags.

References

CVSS Base Scores

version 3.1