cve.bz

CWE-196: Unsigned to Signed Conversion Error, published in 2026

Filter

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

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

Related attack patterns (CAPEC): 1
  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to CWE-196, as MITRE names them. Credits.

Ask an AI about CWE-196

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

    libaec through 1.1.7 contains an out-of-bounds read vulnerability in m_se_decode() in src/decode.c that allows attackers to bypass a signed bounds check via an overlong fundamental sequence. Attackers can supply a crafted CCSDS 121.0/SZIP …

  2. 7.5CVE-2026-106567imagemagickEPSS 0.6%

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-32 and 6.9.13-57, a crafted PSD file can trigger an integer-conversion error in the PSD decoder on 32-bit builds, causing an infi…

  3. 9.1CVE-2026-93019EPSS 0.7%

    Imager versions before 1.036 for Perl exit the process reading a TGA with a colour map length of 32768 or more in tga_palette_read. The reader unpacks the two-byte colour map length into a signed short, so a length of 32768 or more become…

  4. 5.1CVE-2026-58317teraterm project ttssh2EPSS 0.3%

    Unsigned to Signed Conversion Error (CWE-196) vulnerability exists in TTSSH2 plugin of Tera Term provided by TeraTerm Project. When Tera Term attempts to establish an SSH connection to a server set up by an attacker, out-of-bounds read/wri…

  5. 9.8CVE-2026-14454tonycoz imagerEPSS 0.7%

    Imager versions before 1.033 for Perl treat unsigned EXIF IFD entry counts as signed. Imager mishandled large EXIF IFD entry count values, treating them as negative numbers. This could lead to an attempt to allocate a block nearly the si…

  6. 7.2CVE-2026-34155pengutronix raucEPSS 0.3%

    RAUC controls the update process on embedded Linux systems. Prior to version 1.15.2, RAUC bundles using the 'plain' format exceeding a payload size of 2 GiB cause an integer overflow which results in a signature which covers only the first…