Out-of-bounds Write Affecting re2c package, versions [1.3,2.0.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.36% (58th 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-10078261
  • published8 May 2025
  • disclosed21 Apr 2020
  • creditUnknown

Introduced: 21 Apr 2020

CVE-2020-11958  (opens in a new tab)
CWE-787  (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 Out-of-bounds Write re2c 1.3 has a heap-based buffer overflow in Scanner::fill in parse/scanner.cc via a long lexeme.

References

CVSS Base Scores

version 3.1