VYPR

CWE-195

Signed to Unsigned Conversion Error

VariantDraft

Description

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.

Hierarchy (View 1000)

Parents

Children

none

CVEs mapped to this weakness (22)

page 2 of 2
  • CVE-2025-52566HigJun 24, 2025
    risk 0.00cvss 8.6epss 0.00

    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 unintended behavior in tokens copying size…

  • CVE-2025-49847HigJun 17, 2025
    risk 0.00cvss 8.8epss 0.00

    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.cpp/src/vocab.cpp:…