First published: Mon Aug 22 2005(Updated: )
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.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
PCRE (Perl Compatible Regular Expressions) | =5.0 | |
PCRE (Perl Compatible Regular Expressions) | =6.0 | |
PCRE (Perl Compatible Regular Expressions) | =6.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2005-2491 is considered high severity due to its potential for arbitrary code execution through a heap-based buffer overflow.
To fix CVE-2005-2491, you should upgrade to PCRE version 6.2 or later, where the vulnerability is resolved.
CVE-2005-2491 affects various products, including Python, Ethereal, and PHP that utilize vulnerable versions of PCRE.
CVE-2005-2491 allows an attacker to exploit systems by using specially crafted regular expressions with quantifier values that trigger the integer overflow.
Individuals and organizations using affected versions of PCRE in their applications are impacted by CVE-2005-2491.