cve.bz

CWE-197: Numeric Truncation Error, published in 2025

Filter

Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.

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

Ask an AI about CWE-197

Show the promptExplain CWE-197: Numeric Truncation Error and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/197.html and https://cve.bz/cve/cwe/197?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. 6.3CVE-2025-10543eclipse paho mqttEPSS 0.2%

    In Eclipse Paho Go MQTT v3.1 library (paho.mqtt.golang) versions <=1.5.0 UTF-8 encoded strings, passed into the library, may be incorrectly encoded if their length exceeds 65535 bytes. This may lead to unexpected content in packets sent to…

  2. 7.8CVE-2025-53723microsoftEPSS 0.5%

    Numeric truncation error in Windows Hyper-V allows an authorized attacker to elevate privileges locally.

  3. 7.2CVE-2025-6965ExploitEPSS 74%

    There exists a vulnerability in SQLite versions before 3.50.2 where the number of aggregate terms could exceed the number of columns available. This could lead to a memory corruption issue. We recommend upgrading to version 3.50.2 or above.

  4. 7.8CVE-2025-49679microsoftEPSS 0.4%

    Numeric truncation error in Windows Shell allows an authorized attacker to elevate privileges locally.