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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-1333 — Vulnerability Class 359

359 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-115728 @hapi/content 6.0.1 before 6.0.3 ReDoS via Content.disposition() Parameter Parsing — @hapi/content 7.5 High 2026-10-23
CVE-2026-115508 Crawl4AI 0.7.0 before 0.9.5 ReDoS via /crawl Regex Fields — crawl4ai 6.5 Medium 2026-10-22
CVE-2026-115349 Mistune 3.0.0 before 3.3.0 Denial of Service via Nested Bracket Parsing — mistune 7.5 High 2026-10-22
CVE-2026-112901 Pillow: ReDoS in XbmImagePlugin: 512-byte file stalls Image.open() for minutes — Pillow 6.9 Medium 2026-10-19
CVE-2026-112300 DiffSK configobj __init__.py _sectionmarker redos — configobj 5.3 Medium 2026-10-19
CVE-2026-112366 Picomatch through 4.0.7 ReDoS via single-branch repeated extglob patterns — picomatch 7.5 High 2026-10-19
CVE-2026-111997 ip-address 10.7.4 前版本存在拒绝服务漏洞 — ip-address 6.3 Medium 2026-10-18
CVE-2026-59966 Tandoor Recipes: ReDoS (Regular Expression Denial of Service) via User-Controlled Automation Regex Patterns — recipes 5.7 Medium 2026-10-16
CVE-2026-111714 tarteaucitron.js before 1.37.0 ReDoS via Unescaped Cookie Name in cookie.purge — tarteaucitron.js 3.1 Low 2026-10-16
CVE-2026-108082 Symfony: ReDoS in HeaderUtils::split() Reachable Through the Cache-Control Request Header — symfony 8.7 High 2026-10-15
CVE-2026-110869 Nodemailer 3.0.0 before 10.0.13 ReDoS via SMTP AUTH Mechanism Detection Regexes — nodemailer 7.5 High 2026-10-14
CVE-2026-110856 GitPython before 3.2.0 ReDoS via _re_actor_epoch in parse_actor_and_date — GitPython 7.5 High 2026-10-14
CVE-2026-110594 BottleCRM 0.43 through 1.14.5 ReDoS via Case Routing Rule Regex — BottleCRM 4.9 Medium 2026-10-14
CVE-2026-109563 N3.js before 2.11.1 ReDoS via N3Lexer Numeric-Literal Regex — N3.js 7.5 High 2026-10-12
CVE-2026-109295 Open WebUI 0.11.0 before 0.11.4 ReDoS via grep_knowledge_files Event Loop — open-webui 6.5 Medium 2026-10-12
CVE-2026-104628 Satel Netco Design Inefficient Regular Expression Complexity — Satel Netco Design 6.5 Medium 2026-10-08
CVE-2026-107290 Pydantic AI: Event loop blocked by quadratic title extraction in `web_fetch` — pydantic-ai 6.5 Medium 2026-10-08
CVE-2026-107572 Inefficient Regular Expression Complexity in hMailServer — hMailServer 6.5 Medium 2026-10-08
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

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