Arbitrary Code Execution Affecting pcre package, versions [5.0,6.1]


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
1.85% (89th 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 Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PCRE-2319182
  • published14 Dec 2021
  • disclosed23 Aug 2005
  • creditUnknown

Introduced: 23 Aug 2005

CVE-2005-2491  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for pcre.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution. Integer overflow in pcre_compile.c in Perl Compatible Regular Expressions (PCRE) before 6.2, as used in multiple products such as Python, Ethereal, and PHP, allows attackers to execute arbitrary code via quantifier values in regular expressions, which leads to a heap-based buffer overflow.

CVSS Scores

version 3.1