CWE-185: Incorrect Regular Expression, published in 2022
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 prompt
Explain 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
No records match.