1. CVE archive
  2. Vulnerability types
  3. CWE-624
CWE-624 · #549 most frequent type in the archive

Executable Regular Expression Error

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.

Part of: CWE-77 · Improper Neutralization of Special Elements used in a Command

4CVEs of this type in the archive
1critical (CVSS ≥ 9)
3high severity (7–8.9)
Oct 23, 2026latest published

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.

Case (2) is possible in the PHP preg_replace() function, and possibly in other languages when a user-controlled input is inserted into a string that is later parsed as a regular expression.

Impact on systems

ScopeImpact
Confidentiality, Integrity, Availability Execute Unauthorized Code or Commands

How to prevent it

Implementation The regular expression feature in some languages allows inputs to be quoted or escaped before insertion, such as Q and E in Perl.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-624 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20241
20263

All CWE-624 CVEs

4 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.