CWE-194: Unexpected Sign Extension, published in 2022
Filter
The product performs an operation on a number that causes it to be sign extended when it is transformed into a larger data type.
What the weakness is: CWE-194 at MITRE. All weaknesses
Ask an AI about CWE-194
Show the prompt
Explain CWE-194: Unexpected Sign Extension and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/194.html and https://cve.bz/cve/cwe/194?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
- 8.8CVE-2022-32138codesysEPSS 1.2%
In multiple CODESYS products, a remote attacker may craft a request which may cause an unexpected sign extension, resulting in a denial-of-service condition or memory overwrite.