Out-of-Bounds Affecting pcre package, versions [,6.0][6.0,6.1][6.1,7.4)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
5.38% (94th 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-2319154
  • published14 Dec 2021
  • disclosed7 Nov 2007
  • creditUnknown

Introduced: 7 Nov 2007

CVE-2007-4768  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade pcre to version 7.4 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. Heap-based buffer overflow in Perl-Compatible Regular Expression (PCRE) library before 7.3 allows context-dependent attackers to execute arbitrary code via a singleton Unicode sequence in a character class in a regex pattern, which is incorrectly optimized.

CVSS Scores

version 3.1