REDHAT-BUG-383371: Integer Overflow
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 #2 in that advisory:
3) More possible integer overflow trouble.
pcrecompile: --- if (min == 0) { length++; if (max > 0) length += (max - 1) (duplength + 3 + 2LINKSIZE); } ... else { length += (min - 1) duplength; if (max > min) / Need this test as max=-1 means no limit / length += (max - min) (duplength + 3 + 2LINKSIZE) - (2 + 2LINKSIZE); } ---
In both these cases, I see no reason why a malicious regexp pattern couldn't cause an integer overflow by using large min / max / duplength values. This will really mess up the critical "length" value.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-383371?
The severity of REDHAT-BUG-383371 is classified as high due to the presence of integer overflows in the pcre library.
How do I fix REDHAT-BUG-383371?
To fix REDHAT-BUG-383371, update the pcre library to the latest patched version provided by your distribution.
What software is affected by REDHAT-BUG-383371?
REDHAT-BUG-383371 affects the PCRE library, specifically its older versions prior to the security patches.
Is REDHAT-BUG-383371 related to any known exploits?
Yes, REDHAT-BUG-383371 is linked to potential exploits that can arise from the integer overflow vulnerabilities in the pcre library.
What version of pcre is vulnerable in REDHAT-BUG-383371?
Any version of pcre prior to the security updates that address CVE-2006-7224 is considered vulnerable in REDHAT-BUG-383371.