cve.bz

CWE-197: Numeric Truncation Error, published in 2022

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. 5.5CVE-2022-34680EPSS 0.3%

    NVIDIA GPU Display Driver for Linux contains a vulnerability in the kernel mode layer handler, where an integer truncation can lead to an out-of-bounds read, which may lead to denial of service.

  2. 7.8CVE-2022-34676nvidiaEPSS 0.3%

    NVIDIA GPU Display Driver for Linux contains a vulnerability in the kernel mode layer handler, where an out-of-bounds read may lead to denial of service, information disclosure, or data tampering.

  3. 7.8CVE-2022-34670EPSS 0.3%

    NVIDIA GPU Display Driver for Linux contains a vulnerability in the kernel mode layer handler, where an unprivileged regular user can cause truncation errors when casting a primitive to a primitive of smaller size causes data to be lost in…