- What is CWE-191?
- The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.
- What CVEs are caused by CWE-191?
- 277 recorded CVEs are attributed to CWE-191, including CVE-2014-0497, CVE-2026-51540, CVE-2026-37534. 1 are listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.
- How is CWE-191 detected?
- Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
- What are the consequences of CWE-191?
- Exploiting CWE-191 can lead to: DoS: Crash, Exit, or Restart, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Instability, Modify Memory, Execute Unauthorized Code or Commands.
- Is CWE-191 actively exploited?
- Yes. 1 CWE-191 vulnerabilities are in CISA's KEV catalog of actively exploited flaws, out of 277 recorded CVEs.