Out-of-Bounds Affecting pcre package, versions [,6.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (69th 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-UNMANAGED-PCRE-2319157
  • published14 Dec 2021
  • disclosed31 Dec 2005
  • creditUnknown

Introduced: 31 Dec 2005

CVE-2005-4872  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade pcre to version 6.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. Perl-Compatible Regular Expression (PCRE) library before 6.2 does not properly count the number of named capturing subpatterns, which allows context-dependent attackers to cause a denial of service (crash) via a regular expression with a large number of named subpatterns, which triggers a buffer overflow. NOTE: this issue was originally subsumed by CVE-2006-7224, but that CVE has been REJECTED and split.

References

CVSS Scores

version 3.1