REDHAT-BUG-383341: Buffer Overflow

Published Nov 14, 2007
·
Updated

CVE-2006-7224 initially described several integer overflows in pcre, all described here: http://scary.beasts.org/security/CESA-2007-006.html

This id should be used to describe issue #1 in that advisory:

1) Integer overflow leading to buffer overflow.

pcrecompile: --- / Compute the size of data block needed and get it, either from malloc or externally provided function. /

size = length + sizeof(realpcre) + namecount (maxnamesize + 3); re = (realpcre )(pcremalloc)(size); ---

Unfortunately, a malicious regex can easily cause large "namecount" and "maxnamesize" such that this calculation overflows. Demo:

(?P)(?P<0>)(?P<1>)...fill in this sequence...(?P<4293>)

Affected Software

1 affected component
PCRE PCRE

Event History

Nov 14, 2007
Data Sourced
via Red Hat·08:49 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-383341?

The severity of REDHAT-BUG-383341 is classified as critical due to the potential for integer overflow vulnerabilities in PCRE.

2

How do I fix REDHAT-BUG-383341?

To fix REDHAT-BUG-383341, upgrade to the latest version of PCRE that contains the necessary security patches.

3

What systems are affected by REDHAT-BUG-383341?

REDHAT-BUG-383341 affects systems running vulnerable versions of the PCRE library.

4

What type of vulnerability is REDHAT-BUG-383341?

REDHAT-BUG-383341 is an integer overflow vulnerability that may lead to system instability or arbitrary code execution.

5

When was REDHAT-BUG-383341 disclosed?

REDHAT-BUG-383341 was disclosed in 2007, related to the CVE-2006-7224 vulnerabilities.

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