CVE-2015-8394: Pcre Perl Compatible Regular Expression Library

Critical severity, CVSS 9.8. EPSS: 4.8% probability of exploitation activity in the next 30 days.

PCRE before 8.38 mishandles the (?(<digits>) and (?(R<digits>) conditions, which allows remote attackers to cause a denial of service (integer overflow) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • PHP, from 5.5.0, before 5.5.32: fixed in 5.5.32
  • PHP, from 5.6.0, before 5.6.18: fixed in 5.6.18
  • PHP, from 7.0.0, before 7.0.3: fixed in 7.0.3

Affected products

Published 2015-12-02. Last modified 2026-06-17.