cve.bz

CWE-195: Signed to Unsigned Conversion Error, published in 2023

Filter

The product uses a signed primitive and performs a cast to an unsigned primitive, which can produce an unexpected value if the value of the signed primitive can not be represented using an unsigned primitive.

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

Ask an AI about CWE-195

Show the promptExplain CWE-195: Signed to Unsigned Conversion Error and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/195.html and https://cve.bz/cve/cwe/195?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. 7.8CVE-2023-33034qualcommEPSS 0.2%

    Memory corruption while parsing the ADSP response command.

  2. 8.8CVE-2023-5184zephyrproject zephyrEPSS 0.4%

    Two potential signed to unsigned conversion errors and buffer overflow vulnerabilities at the following locations in the Zephyr IPM drivers.

  3. 7.5CVE-2023-3635squareup okioEPSS 1.2%

    GzipSource does not handle an exception that might be raised when parsing a malformed gzip buffer. This may lead to denial of service of the Okio client when handling a crafted GZIP archive, by using the GzipSource class.

  4. 9.8CVE-2022-43663wellintech kinghistorianEPSS 1.0%

    An integer conversion vulnerability exists in the SORBAx64.dll RecvPacket functionality of WellinTech KingHistorian 35.01.00.05. A specially crafted network packet can lead to a buffer overflow. An attacker can send a malicious packet to t…