CWE-195: Signed to Unsigned Conversion Error, published in 2025
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 prompt
Explain 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
- 5.3CVE-2025-67897sequoia-pgp sequoiaEPSS 0.7%
In Sequoia before 2.1.0, aes_key_unwrap panics if passed a ciphertext that is too short. A remote attacker can take advantage of this issue to crash an application by sending a victim an encrypted message with a crafted PKESK or SKESK pack…
- 7.5CVE-2025-65495libcoapEPSS 0.5%
Integer signedness error in tls_verify_call_back() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted TLS certificate that causes i2d_X509() to return -1 and be misused as a mallo…
- 8.8CVE-2025-52566ggml llama.cppEPSS 0.6%
llama.cpp is an inference of several LLM models in C/C++. Prior to version b5721, there is a signed vs. unsigned integer overflow in llama.cpp's tokenizer implementation (llama_vocab::tokenize) (src/llama-vocab.cpp:3036) resulting in unint…
- 8.8CVE-2025-49847ggml llama.cppEPSS 1.0%
llama.cpp is an inference of several LLM models in C/C++. Prior to version b5662, an attacker‐supplied GGUF model vocabulary can trigger a buffer overflow in llama.cpp’s vocabulary‐loading code. Specifically, the helper _try_copy in llama.…
- 7.1CVE-2025-30646juniperEPSS 0.4%
A Signed to Unsigned Conversion Error vulnerability in the Layer 2 Control Protocol daemon (l2cpd) of Juniper Networks Junos OS and Juniper Networks Junos OS Evolved allows an unauthenticated adjacent attacker sending a specifically malfor…
- 4.4CVE-2025-24792snowflakedb pdo snowflakeEPSS 0.2%
Snowflake PHP PDO Driver is a driver that uses the PHP Data Objects (PDO) extension to connect to the Snowflake database. Snowflake discovered and remediated a vulnerability in the Snowflake PHP PDO Driver where executing unsupported queri…