CVE-2005-2491: Buffer Overflow

Published Aug 22, 2005
·
Updated

Integer overflow in pcrecompile.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.

Affected Software

3 affected components
PCRE PCRE=5.0
PCRE PCRE=6.0
PCRE PCRE=6.1

Remediation

Event History

Aug 22, 2005
CVE Published
via MITRE·08:00 AM
Data Sourced
via MITRE·08:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2005-2491?

CVE-2005-2491 is considered high severity due to its potential for arbitrary code execution through a heap-based buffer overflow.

2

How do I fix CVE-2005-2491?

To fix CVE-2005-2491, you should upgrade to PCRE version 6.2 or later, where the vulnerability is resolved.

3

What products are affected by CVE-2005-2491?

CVE-2005-2491 affects various products, including Python, Ethereal, and PHP that utilize vulnerable versions of PCRE.

4

How does CVE-2005-2491 allow an attacker to exploit systems?

CVE-2005-2491 allows an attacker to exploit systems by using specially crafted regular expressions with quantifier values that trigger the integer overflow.

5

Who is impacted by CVE-2005-2491?

Individuals and organizations using affected versions of PCRE in their applications are impacted by CVE-2005-2491.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203