CVE-2007-1660: Buffer Overflow

Published Oct 2, 2007
·
Updated

Perl-Compatible Regular Expression (PCRE) library before 7.0 does not properly calculate sizes for unspecified "multiple forms of character class", which triggers a buffer overflow that allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code.

Other sources

Tavis Ormandy of the Google Security Team reported multiple pcre regular expressions flaws. Here are the details pasted from Tavis' mail:

CVE-2007-1660: multiple forms of character class had their sizes miscalculated on initial passes, resulting in too little memory being allocated, this was also inadvertently fixed in version 7.0, where the compile phase was entirely re-engineered (and much improved, from a security standpoint).

Acknowledgements:

Red Hat would like to thank Tavis Ormandy and Will Drewry for properly disclosing these issues.

Red Hat

Affected Software

1 affected component
PCRE PCRE<=6.9

Event History

Oct 2, 2007
Data Sourced
via Red Hat·07:37 PM
DescriptionSeverityAffected Software
Nov 7, 2007
CVE Published
11:46 PM
Nov 8, 2007
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2007-1660?

CVE-2007-1660 is classified as a high severity vulnerability due to its potential to cause denial of service and execute arbitrary code.

2

How do I fix CVE-2007-1660?

To fix CVE-2007-1660, upgrade the PCRE library to version 7.0 or later.

3

What causes CVE-2007-1660?

CVE-2007-1660 is caused by the PCRE library's improper calculation of sizes for unspecified multiple forms of character class.

4

What types of attacks can exploit CVE-2007-1660?

Attackers can exploit CVE-2007-1660 to trigger buffer overflow vulnerabilities, potentially leading to crashes and arbitrary code execution.

5

Which versions of PCRE are affected by CVE-2007-1660?

CVE-2007-1660 affects PCRE library versions prior to 7.0.

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