Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-1333 — Vulnerability Class 341

341 vulnerabilities classified as CWE-1333. AI Chinese analysis included.

CWE-1333 represents a software weakness where regular expressions exhibit inefficient, often exponential, worst-case computational complexity. This vulnerability is typically exploited through Regular Expression Denial of Service (ReDoS) attacks, where malicious actors craft specific input strings that trigger catastrophic backtracking within the regex engine. Such inputs force the processor to evaluate an excessive number of potential matches, consuming significant CPU resources and effectively halting application availability. To mitigate this risk, developers must prioritize regex optimization by avoiding nested quantifiers, minimizing ambiguity in pattern structures, and utilizing possessive quantifiers or atomic groups to prevent backtracking. Additionally, implementing strict input length limits and employing regex complexity analysis tools during the development lifecycle can help identify and eliminate inefficient patterns before deployment, ensuring robust application performance against adversarial inputs.

MITRE CWE Description
The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
Common Consequences (1)
Availability DoS: Resource Consumption (CPU)
Attackers can create crafted inputs that intentionally cause the regular expression to use excessive backtracking in a way that causes the CPU consumption to spike.
Mitigations (4)
Architecture and Design Use regular expressions that do not support backtracking, e.g. by removing nested quantifiers.
Effectiveness: High
System Configuration Set backtracking limits in the configuration of the regular expression implementation, such as PHP's pcre.backtrack_limit. Also consider limits on execution time for the process.
Effectiveness: Moderate
Implementation Do not use regular expressions with untrusted input. If regular expressions must be used, avoid using backtracking in the expression.
Effectiveness: High
Implementation Limit the length of the input that the regular expression will process.
Effectiveness: Moderate
Examples (2)
This example attempts to check if an input string is a "sentence" [REF-1164].
var test_string = "Bad characters: $@#"; var bad_pattern  = /^(\w+\s?)*$/i; var result = test_string.search(bad_pattern);
Bad · JavaScript
var test_string = "Bad characters: $@#"; var good_pattern  = /^((?=(\w+))\2\s?)*$/i; var result = test_string.search(good_pattern);
Good · JavaScript
This example attempts to check if an input string is a "sentence" and is modified for Perl [REF-1164].
my $test_string = "Bad characters: \$\@\#"; my $bdrslt = $test_string; $bdrslt =~ /^(\w+\s?)*$/i;
Bad · Perl
my $test_string = "Bad characters: \$\@\#"; my $gdrslt = $test_string; $gdrslt =~ /^((?=(\w+))\2\s?)*$/i;
Good · Perl
CVE ID Title CVSS Severity Published
CVE-2026-106454 Twisted: IMAP wildcardToRegexp() ReDoS — twisted 4.3 Medium 2026-10-06
CVE-2026-102408 Inefficient Regular Expression Complexity in Elasticsearch Leading to Denial of Service — Elasticsearch 4.3 Medium 2026-10-06
CVE-2026-106104 Quasar Framework: Super-linear regex backtracking on User-Agent lets one request stall a Quasar SSR server — quasar 8.7 High 2026-10-06
CVE-2026-105646 Ghost: Regular Expression Denial of Service in Content Import — Ghost 4.9 Medium 2026-10-05
CVE-2026-105645 Ghost: Regular Expression Denial of Service in External Media Inliner — Ghost 4.9 Medium 2026-10-05
CVE-2026-105219 Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser — mammoth.js 7.5 High 2026-10-04
CVE-2026-104454 YesWiki before 4.6.7 ReDoS via wakka.php Edit-Preview Endpoint — yeswiki 5.3 Medium 2026-10-02
CVE-2026-96292 Apache Thrift: Lua `THttpTransport:_parseHeaders` matches each header line with a backtracking pattern (quadratic) — Apache Thrift 8.2 High 2026-10-02
CVE-2026-77387 geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point — geopy 4.0 Medium 2026-10-01
CVE-2026-102990 basic-ftp: Quadratic-time CPU denial of service in Client.list() Unix directory-listing parser (RE_LINE backtracking) — basic-ftp 8.2 High 2026-09-30
CVE-2026-100267 JetBrains YouTrack 2026.2前邮箱正则拒绝服务漏洞 — YouTrack 5.9 Medium 2026-09-30
CVE-2026-103043 anchorme through 3.0.8 Regular Expression Denial of Service — anchorme 7.5 High 2026-09-29
CVE-2026-102473 Dash: dash: super-polynomial backtracking in pmatch when libc fnmatch is disabled — Red Hat Enterprise Linux 6 5.5 Medium 2026-09-29
CVE-2026-102270 PyJWT: ReDoS vulnerability when calling the `is_pem_format` function. — pyjwt 4.4 Medium 2026-09-28
CVE-2026-101903 Axios: ReDoS in fromDataURI data: URL parser freezes the Node event loop (DoS) — axios 8.2 High 2026-09-28
CVE-2026-67413 RabbitMQ: Authenticated RabbitMQ JMS Topic Selector Users Can Consume Broker CPU with an Unbounded LIKE Regular Expression — rabbitmq-server 6.0 Medium 2026-09-25
CVE-2026-54461 Habitica: Regex Injection / ReDoS in Member Search — habitica 6.5 Medium 2026-09-24
CVE-2026-66074 RabbitMQ: ReDoS via management API ?name= filter — rabbitmq-server 6.0 Medium 2026-09-23
CVE-2026-67240 RabbitMQ: ReDoS via AMQP 1.0 SQL filter LIKE wildcard — rabbitmq-server 2.3 Low 2026-09-23
CVE-2026-77423 JLine: ReDoS in Built-in Less Viewer Search — jline3 7.5 High 2026-09-23
CVE-2026-77420 JLine: ReDoS via `HISTORY_IGNORE` Configuration Variable — jline3 5.5 Medium 2026-09-23
CVE-2026-77422 JLine: ReDoS in Built-in grep Command Amplified by Automatic `.*` Wrapping — jline3 7.5 High 2026-09-23
CVE-2026-77421 JLine: ReDoS in Nano Editor Regex Search Mode — jline3 6.5 Medium 2026-09-23
CVE-2026-89407 jackson-core: quadratic backtracking in NumberInput.PATTERN_FLOAT via looksLikeValidNumber() enables ReDoS — jackson-core 7.5 High 2026-09-22
CVE-2026-58270 Sync-in Server has a ReDoS via Unsanitized Regex in Sync Diff `pathFilters` — server 6.5 Medium 2026-09-21
CVE-2026-93761 Denial of service via unbounded regex matching in Mongoid's in-memory query matcher — Mongoid 7.5 High 2026-09-18
CVE-2026-63460 Vendure: Unauthenticated ReDoS via `regex` filter on SQLite backends — vendure 7.5 High 2026-09-17
CVE-2026-92599 Joi before 17.13.7 and 18.2.6 ReDoS via isoDate — joi 7.5 High 2026-09-16
CVE-2026-92114 a2ui-project a2ui Basic Catalog safe_regex.ts redos — a2ui 5.3 Medium 2026-09-15
CVE-2026-57577 DotVVM: ReDOS in routing — dotvvm 8.2 High 2026-09-14

Vulnerabilities classified as CWE-1333 represent 341 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.