cve.bz

CWE-185: Incorrect Regular Expression, published in 2021

Filter

The product specifies a regular expression in a way that causes data to be improperly matched or compared.

What the weakness is: CWE-185 at MITRE. All weaknesses

Related attack patterns (CAPEC): 3
  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to CWE-185, as MITRE names them. Credits.

Ask an AI about CWE-185

Show the promptExplain CWE-185: Incorrect Regular Expression and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/185.html and https://cve.bz/cve/cwe/185?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 5.3CVE-2021-36093otrsEPSS 1.1%

    It's possible to create an email which can be stuck while being processed by PostMaster filters, causing DoS. This issue affects: OTRS AG ((OTRS)) Community Edition 6.0.x version 6.0.1 and later versions. OTRS AG OTRS 7.0.x version 7.0.28 …

  2. 5.3CVE-2018-1109braces project bracesEPSS 1.4%

    A vulnerability was found in Braces versions 2.2.0 and above, prior to 2.3.1. Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks.

  3. 6.5CVE-2020-7929mongodbEPSS 1.3%

    A user authorized to perform database queries may trigger denial of service by issuing specially crafted query contain a type of regex. This issue affects MongoDB Server v3.6 versions prior to 3.6.21 and MongoDB Server v4.0 versions prior …