CVE-2015-8391

The pcre_compile function in pcre_compile.c in PCRE before 8.38 mishandles certain [: nesting, which allows remote attackers to cause a denial of service (CPU…

published December 2, 2015

CVSS
—
EPSS
6%
Percentile
93.7
In the wild
Unconfirmed
What it is

⚠️ A tricky regular expression could tie up your CPU like an overbooked restaurant on a Friday night! Think of it like a chef trying to fulfill an endless string of complex orders — every time they think they’re done, another order pops up, causing the kitchen to stall and take forever to serve customers. In this case, the "orders" are crafted regex patterns that lead to CPU exhaustion. This vulnerability could let an attacker send a specially crafted regular expression that consumes excessive CPU resources, leading to a Denial of Service (DoS). If your system gets overwhelmed, it could slow down or even crash, making it frustrating for users who are waiting for their requests to be processed!

Put simply

Think of it like a chef trying to fulfill an endless string of complex orders — every time they think they’re done, another order pops up, causing the kitchen to stall and take forever to serve customers. In this case, the "orders" are crafted regex patterns that lead to CPU exhaustion. The pcre_compile function in PCRE versions before 8.38 mishandles certain nested character classes, allowing attackers to exploit this flaw with malicious regular expressions, resulting in potential CPU consumption issues.

What to do

This vulnerability could let an attacker send a specially crafted regular expression that consumes excessive CPU resources, leading to a Denial of Service (DoS). If your system gets overwhelmed, it could slow down or even crash, making it frustrating for users who are waiting for their requests to be processed! To safeguard your systems, update PCRE to version 8.38 or later. It's also wise to audit your regex patterns and ensure they don't contain complex nesting that could lead to performance pitfalls. 🚀 You can tackle this! Stay proactive with your updates, and your systems will be back on track in no time! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.06404 · 93.7th percentile
Published
2015-12-02T00:00Z
EPSS history
Timeline
  • 02 DEC 00:00Z
    The pcre_compile function in pcre_compile.c in PCRE before 8.38 mishandles certain [: nesting, which allows remote attackers to cause a denial of service (CPU…
    cvelistv5