CWE-624Base

Executable Regular Expression Error

Incomplete in the CWE catalog ยท 2 CVEs mapped

2
CVEs mapped
8.3
Median CVSS
What it is

The product uses a regular expression that either (1) contains an executable component with user-controlled inputs, or (2) allows a user to enable execution by inserting pattern modifiers.

Recent examples
9.2cvss
CVE-2026-25237

PEAR is Vulnerable to PHP Code Execution via preg_replace /e in Bug Update Emails

๐Ÿšจ A little PHP magic in the wrong hands could spell disaster! Before version 1.33.0, PEAR's preg_replace() function was like an open stage for attackers, allowing them to execute PHP code with just a little crafty input. ๐Ÿ”ฅ Think of it like a restaurant where the chef blindly follows any recipe handed to them โ€” an attacker could submit a recipe filled with harmful ingredients, and the chef would unknowingly whip up a toxic dish for everyone to consume. If an attacker can get their hands on the evaluated replacement, they could run arbitrary PHP code on your server! This could lead to unauthorized access, data leaks, or even full system compromise โ€” a nightmare scenario for any developer. ๐Ÿ˜ฑ

CRITICAL
0%
epss
7.5cvss
CVE-2024-41655

TF2 Item Format Regular Expression Denial of Service vulnerability

TF2 Item Format helps users format TF2 items to the community standards. Versions of `tf2-item-format` since at least `4.2.6` and prior to `5.9.14` are vulnerable to a Regular Expression Denial of Service (ReDoS) attack when parsing crafted user input. This vulnerability can be exploited by an attacker to perform DoS attacks on any service that uses any `tf2-item-format` to parse user input. Version `5.9.14` contains a fix for the issue.

HIGHno explanation yet
1%
epss
The record
Technical detail
CWE ID
CWE-624
Abstraction
Base
Structure
Simple
Status
Incomplete