CVE-2015-8389

PCRE before 8.38 mishandles the /(?:|a|){100}x/ pattern and related patterns, which allows remote attackers to cause a denial of service (infinite recursion)…

published December 2, 2015

CVSS
—
EPSS
4%
Percentile
90.2
In the wild
Unconfirmed
What it is

🚨 A tricky regular expression could lead to infinite recursion! Just like a hamster on a wheel, it could keep looping endlessly, causing a denial of service in your application. ⚠️ This vulnerability is like a poorly designed rollercoaster that keeps going around in circles without letting anyone off — a crafted regex pattern keeps calling itself back into action, creating an endless loop that your system can’t escape. An attacker could exploit this flaw to trigger infinite recursion, effectively overwhelming your server and rendering it unresponsive. While the exact nature of other possible impacts remains unspecified, the potential for disruption is significant and could lead to service outages.

Put simply

This vulnerability is like a poorly designed rollercoaster that keeps going around in circles without letting anyone off — a crafted regex pattern keeps calling itself back into action, creating an endless loop that your system can’t escape. CVE-2015-8389 arises from how PCRE versions before 8.38 mishandle specific regex patterns, allowing crafted patterns to cause excessive recursion when processed by the regex engine, such as in scenarios involving JavaScript.

What to do

An attacker could exploit this flaw to trigger infinite recursion, effectively overwhelming your server and rendering it unresponsive. While the exact nature of other possible impacts remains unspecified, the potential for disruption is significant and could lead to service outages. To address this issue, ensure you update PCRE to version 8.38 or later. Regularly audit your regex patterns for potential vulnerabilities and implement monitoring to detect abnormal processing loads. You've got this! With these steps, you can fortify your system against this sneaky regex vulnerability. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.03887 · 90.2th percentile
Published
2015-12-02T00:00Z
EPSS history
Timeline
  • 02 DEC 00:00Z
    PCRE before 8.38 mishandles the /(?:|a|){100}x/ pattern and related patterns, which allows remote attackers to cause a denial of service (infinite recursion)…
    cvelistv5