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

Permissive Regular Expression

The product uses a regular expression that does not sufficiently restrict the set of allowed values.

Part of: CWE-185 · Incorrect Regular Expression

19CVEs of this type in the archive
2critical (CVSS ≥ 9)
8high severity (7–8.9)
Nov 20, 2026latest published

What it is

The product uses a regular expression that does not sufficiently restrict the set of allowed values.

Impact on systems

ScopeImpact
Access Control Bypass Protection Mechanism
The regexp could accept substrings that match the pattern, which produces a partial comparison to the target. In some cases, this can allow dangerous substrings to bypass the intended protection.

How to prevent it

Implementation When applicable, ensure that the regular expression marks beginning and ending string patterns, such as /^string$/ for Perl.

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

CWE-625 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20181
20201
20241
202616

All CWE-625 CVEs

19 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.