p PatchFirst

PatchFirst · Свежие уязвимости

Уязвимости llama.cpp

За последние 30 дней в llama.cpp опубликовано уязвимостей: 8; в каталоге KEV: 0.

Фильтры уязвимостей
Сбросить фильтры

Уязвимостей: 36

  1. CVE-2026-119052

    Высокий · CVSS 8.7EPSS 0,61%Нет опубликованного исправления

    llama.cpp b2877 before b11935 ggml-rpc Server DoS via Oversized recv_msg Length

    llama.cpp b2877 before b11935 contains an uncaught exception vulnerability in the ggml-rpc server that allows unauthenticated remote attackers to crash the rpc-server by sending oversized message lengths. After the HELLO handshake, attackers can send a command such as SET_TENSOR with a length above std::vector::max_size(), triggering an uncaught std::length_error that aborts the process and denies service to all clients.

    Опубликовано Обновлено
  2. CVE-2026-118375

    Критический · CVSS 9.2EPSS 0,37%Нет опубликованного исправления

    llama.cpp b8841 before b11865 Stack-based Buffer Overflow via ggml-rpc RDMA rdma_recv()

    llama.cpp b8841 before b11865 contains an out-of-bounds write vulnerability in the ggml-rpc RDMA transport rdma_recv() function that allows unauthenticated peers to overflow the rpc-server stack. Attackers advertising RDMA capabilities in the HELLO message can send up to 256 KiB into a 1-byte stack variable in rpc_serve_client(), crashing the server or potentially executing code.

    Опубликовано Обновлено
  3. CVE-2026-116840

    Средний · CVSS 6.9EPSS 0,13%Есть исправление

    llama.cpp b5854 before b11275 Integer Overflow in gguf_init_from_reader

    llama.cpp b5854 before b11275 contains an integer overflow vulnerability in gguf_init_from_reader that bypasses the CVE-2025-53630 size check when padding near-SIZE_MAX tensor sizes. Attackers can supply a crafted GGUF file whose tensor size pads to zero, causing an undersized data blob and out-of-bounds reads by consumers.

    • Обновитесь до 1:0.6.0+dfsg-1
    Опубликовано Обновлено
  4. CVE-2026-116829

    Средний · CVSS 6.9EPSS 0,13%Есть исправление

    llama.cpp b10398 before b11301 Integer Overflow in gguf_init_from_reader

    llama.cpp b10398 before b11301 contains an integer overflow vulnerability in gguf_init_from_reader that allows attackers to bypass tensor element-count validation by supplying shapes whose product wraps to zero. Attackers can craft GGUF files with enormous tensor extents that overflow ggml_nbytes() and strides, causing out-of-bounds memory access when buffers are sized from wrapped byte counts.

    • Обновитесь до 1:0.6.0+dfsg-1
    Опубликовано Обновлено
  5. CVE-2026-116816

    Высокий · CVSS 8.5EPSS 0,14%Есть исправление

    llama.cpp b5899 before b10261 Heap Out-of-Bounds Write via plamo2 Tokenizer

    llama.cpp b5899 before b10261 contains a heap out-of-bounds write vulnerability in llm_tokenizer_plamo2::build that allows attackers to corrupt heap memory via crafted GGUF models. Attackers can supply BYTE-typed token text like <0x-1> whose negative parsed value writes token ids before the bytes_ buffer during model loading, causing crashes or potential code execution.

    • Обновитесь до 10271+dfsg-1
    Опубликовано Обновлено
  6. CVE-2026-116467

    Средний · CVSS 6.9EPSS 0,64%Нет опубликованного исправления

    ggml-org llama.cpp Mirostat Sampler llama-sampler.cpp assertion

    A security flaw has been discovered in ggml-org llama.cpp up to 0.7.0. Affected by this vulnerability is an unknown functionality of the file src/llama-sampler.cpp of the component Mirostat Sampler. The manipulation results in reachable assertion. It is possible to launch the attack remotely. The project was informed of the problem early through a pull request but has not reacted yet.

    Опубликовано Обновлено
  7. CVE-2026-116096

    Средний · CVSS 4.8EPSS 0,12%Нет опубликованного исправления

    ggml-org llama.cpp Pocket-TTS pockettts-gen.cpp list_pockettts_state_slots out-of-bounds write

    A weakness has been identified in ggml-org llama.cpp. Affected by this issue is the function list_pockettts_state_slots of the file tools/mtmd/models/pockettts-gen.cpp of the component Pocket-TTS. This manipulation of the argument mmproj causes out-of-bounds write. The attack requires local access. The exploit has been made available to the public and could be used for attacks. Upgrading to version b11796 can resolve this issue. Patch name: 0a1ef309cdbb9f2024f58a38fb4c42352c5db569. The affected component should be upgraded. The reported heap out‑of‑bounds write (gen‑audio / pocket‑tts state_out path) is no longer a silent exploitable heap wri

    Опубликовано Обновлено
  8. CVE-2026-107183

    Критический · CVSS 9.2EPSS 0,42%Нет опубликованного исправления

    llama.cpp before b11393 Use-After-Free via common_chat_peg_mapper chat_parser

    llama.cpp before b11393 contains a use-after-free and double free vulnerability in common_chat_peg_mapper::map that allows unauthenticated remote attackers to corrupt heap memory via a dangling current_tool pointer. Attackers can submit a chat_parser in a POST /completion request emitting a tool-id after a tool-close tag to crash llama-server and shape a heap write primitive.

    Опубликовано Обновлено
  9. CVE-2026-86317

    Средний · CVSS 6.9EPSS 0,7%Нет опубликованного исправления

    ggml-org llama.cpp RPC Server ggml-rpc.cpp deserialize_tensor assertion

    A vulnerability was detected in ggml-org llama.cpp up to 0.4.0. This impacts the function rpc_server::deserialize_tensor of the file ggml/src/ggml-rpc/ggml-rpc.cpp of the component RPC Server. Performing a manipulation of the argument ne results in reachable assertion. The attack is possible to be carried out remotely. The reported GitHub issue was closed automatically due to inactivity.

    Опубликовано Обновлено
  10. CVE-2026-52132

    Высокий · CVSS 7.5EPSS 0,59%Нет опубликованного исправления

    CVE-2026-52132

    llama.cpp through commit 97f06e9, when started with the --reranking flag, allows remote attackers to cause a denial of service (std::bad_alloc and HTTP 500) via a negative top_n value in a POST request to /rerank.

    Опубликовано Обновлено
  11. CVE-2026-52130

    Высокий · CVSS 7.5EPSS 0,49%Нет опубликованного исправления

    CVE-2026-52130

    llama.cpp b5693 and before is vulnerable to Uncontrolled Recursion in common/json-schema-to-grammar.cpp, resulting in a denial of service.

    Опубликовано Обновлено
  12. CVE-2026-78148

    Средний · CVSS 6.9EPSS 0,72%Нет опубликованного исправления

    ggml-org llama.cpp ggml-RPC Server ggml-rpc.cpp graph_compute null pointer dereference

    A vulnerability was determined in ggml-org llama.cpp bec4772f6. This affects the function rpc_server::graph_compute of the file ggml/src/ggml-rpc/ggml-rpc.cpp of the component ggml-RPC Server. Executing a manipulation can lead to null pointer dereference. The attack may be launched remotely. The pull request to fix this issue awaits acceptance.

    Опубликовано Обновлено
  13. CVE-2026-78147

    Средний · CVSS 6.9EPSS 0,56%Нет опубликованного исправления

    ggml-org llama.cpp ggml-RPC Server ggml-rpc.cpp deserialize_tensor deserialization

    A vulnerability was found in ggml-org llama.cpp bec4772f6. The impacted element is the function deserialize_tensor of the file ggml/src/ggml-rpc/ggml-rpc.cpp of the component ggml-RPC Server. Performing a manipulation of the argument op/op_params results in deserialization. The attack may be initiated remotely. This vulnerability is distinct from CVE-2026-34159 (GHSA-j8rj-fmpv-wcxw, PR #20908), which only added a buffer==nullptr rejection in create_node() and does not validate op or op_params. The reported GitHub issue was closed automatically due to inactivity.

    Опубликовано Обновлено
  14. CVE-2026-43632

    Критический · CVSS 9.2EPSS 0,48%Нет опубликованного исправления

    llama.cpp b7492–b9060 Use-After-Free in Tokenization Endpoints

    llama.cpp builds b7492 through the latest b9060 contains a use-after-free vulnerability in llama-server affecting six tokenization endpoints (/tokenize, /detokenize, /infill, /apply-template, /rerank, and /anthropic/count_tokens) that bypass the task queue and access ctx_server.vocab directly on HTTP worker threads. Attackers can exploit a time-of-check-time-of-use race condition where the main thread destroys and frees vocab after the synchronization lock is released but before the handler finishes using it, causing a crash or potential code execution when --sleep-idle-seconds is configured.

    Опубликовано Обновлено
  15. CVE-2026-43631

    Критический · CVSS 9.2EPSS 0,57%Нет опубликованного исправления

    llama.cpp b7492–b9060 Use-After-Free RCE via llama-server

    llama.cpp builds b7492 through the latest b9060 contains a use-after-free vulnerability in the vocab pointer of llama-server when the --sleep-idle-seconds feature is enabled, allowing unauthenticated remote attackers to execute arbitrary code. Attackers can trigger the vulnerability by sending requests to affected endpoints while the server transitions to sleep mode, causing concurrent worker threads to dereference a freed vocab pointer that can be reclaimed with attacker-controlled data to achieve remote code execution.

    Опубликовано Обновлено
  16. CVE-2026-43630

    Средний · CVSS 6.3EPSS 0,5%Есть исправление

    llama.cpp b4882-b8487 Out-of-Bounds Read Information Disclosure

    llama.cpp builds b4882 before b8487 contain an out-of-bounds read vulnerability in the recurrent memory state restore path that allows attackers with write access to the slot save directory to read memory past the end of the allocated cells array. Attackers can craft a malicious slot file with an oversized seq_id value to trigger an out-of-bounds read that leaks heap data including pointer values into server logs, defeating ASLR protections and facilitating further exploitation.

    • Обновитесь до 8611+dfsg-1
    Опубликовано Обновлено
  17. CVE-2026-43629

    Критический · CVSS 9.2EPSS 0,7%Нет опубликованного исправления

    llama.cpp b4882–b9058 Buffer Overflow in KV Cache State Restore

    llama.cpp builds b4882 through b9058 contain a heap buffer overflow vulnerability in the KV cache state restore path where the state_read_data() function computes write size without overflow checking, allowing attackers with write access to the slot_save_path directory to corrupt heap memory. Attackers can craft malicious state files where cell_count multiplication overflows or exceeds tensor buffer allocation to write attacker-controlled bytes past buffer boundaries, potentially resulting in heap metadata corruption, model weight corruption, or arbitrary code execution via function pointer overwrite.

    Опубликовано Обновлено
  18. CVE-2026-43628

    Высокий · CVSS 8.5EPSS 0,23%Нет опубликованного исправления

    llama.cpp b3978–b9058 Integer Underflow via DRY Sampler

    llama.cpp builds b3978 through b9058 contain an integer underflow and out-of-bounds read vulnerability in the DRY sampler that allows unauthenticated attackers to trigger a heap buffer underflow by sending a crafted HTTP request with dry_allowed_length set to INT32_MIN to the /v1/completions or /v1/chat/completions endpoints. Attackers can exploit this vulnerability to crash the server with SIGSEGV causing denial of service for all connected users, or corrupt token sampling probabilities by reading garbage values from memory before the allocated buffer.

    Опубликовано Обновлено

Проверьте свой сервер

Сопоставьте установленный стек и версии со свежими базами уязвимостей.

Проверьте свой сервер →