Back

MEDIUM

pcre miscalculation of memory requirements if options are changed during pattern compilation

Published Nov 15, 2007

Description

Perl-Compatible Regular Expression (PCRE) library before 7.0 does not properly calculate the amount of memory needed for a compiled regular expression pattern when the (1) -x or (2) -i UTF-8 options change within the pattern, which allows context-dependent attackers to cause a denial of service (PCRE or glibc crash) via crafted regular expressions.

Affected products

Remediation

No remediation recorded yet.

Metrics

Weaknesses (1)

References (31)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner redhat
Published Nov 15, 2007
Updated Aug 7, 2024
Reserved Nov 15, 2007
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity Important
Public date Nov 20, 2007