Back

MEDIUM

pcre: heap buffer over-read in pcre_compile2() (8.37/23)

Published Jan 14, 2020

Description

The pcre_compile2 function in PCRE before 8.37 allows context-dependent attackers to compile incorrect code and cause a denial of service (out-of-bounds read) via regular expression with a group containing both a forward referencing subroutine call and a recursive back reference, as demonstrated by "((?+1)(\1))/".

Affected products

Remediation

Red Hat statement

This issue did not affect the versions of pcre as shipped with Red Hat Enterprise Linux 5, 6, and 7.

References (8)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Jan 14, 2020
Updated Aug 6, 2024
Reserved Mar 18, 2015
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Moderate
Public date Mar 23, 2015