llama.cpp
Version: b10357LLM inference in C/C++
What is "llama.cpp"?
LLM inference in C/C++
How to use this package
Quick install
Installs the package into the current environment for this session. Use --build or --runtime to persist it as a build-time or runtime dependency.
min add llama.cppDeclare as a task dependency in minimal.toml
Listing the package under tasks.<name>.packages makes it available inside that task’s sandbox.
[tasks.dev]
packages = ["llama.cpp"]Build-time vs runtime
Choose build-time for tools needed during compilation, runtime for dynamic libraries loaded at runtime.
min add --build llama.cpp
min add --runtime llama.cppDependencies (8)
Dependency changes
Loading diff…
Could not load the dependency diff for one of the selected versions. Try again.
No dependency changes
The two selected versions have identical direct dependencies.
| Name | Version | Kind |
|---|
No dependants
No other packages in the registry depend on this one.
- Lines:+2 / -2Deps:8Released:
- Lines:+1Deps:8Released:
- Lines:+3 / -1Deps:8Released:
- Lines:+1 / -1Deps:8(-1)Released:
- Lines:+5Deps:9Released:
- Lines:+6 / -1Deps:9Released:
- Lines:+2 / -2Deps:9Released:
- Lines:+1 / -1Deps:9Released:
- Lines:+2 / -2Deps:9Released:
- Lines:+3Deps:9Released:
- Lines:+10 / -6Deps:9(+1)Released:
- Lines:+2 / -2Deps:8Released:
Showing 13 advisories
No advisories match the current filters.
| Critical (6) | ||||||
| Status | IDs | Package | Severity | |||
|---|---|---|---|---|---|---|
Affected: b10357 | llama.cpp | Critical | ||||
Summaryllama.cpp before b11393 Use-After-Free via common_chat_peg_mapper chat_parser Affected rangesb8651 – b10357 References
| ||||||
Resolved in b8651 | llama.cpp | Critical | ||||
Summaryllama.cpp Use-After-Free in RPC GRAPH_RECOMPUTE Handler Affected rangesb7499 – b8041, fixed in b8651 Fixed inb8651 References
| ||||||
Resolved in b10093 | llama.cpp | Critical | ||||
Summaryllama.cpp b7492–b9060 Use-After-Free in Tokenization Endpoints Affected rangesb7499 – b8941, fixed in b10093 Fixed inb10093 References
| ||||||
Resolved in b10093 | llama.cpp | Critical | ||||
Summaryllama.cpp b7492–b9060 Use-After-Free RCE via llama-server Affected rangesb7499 – b8941, fixed in b10093 Fixed inb10093 References
| ||||||
Resolved in b10093 | llama.cpp | Critical | ||||
Summaryllama.cpp b4882–b9058 Buffer Overflow in KV Cache State Restore Affected rangesb7499 – b8941, fixed in b10093 Fixed inb10093 References
| ||||||
Resolved in b8651 | llama.cpp | Critical: 9.8 | ||||
Summaryllama.cpp: Unauthenticated RCE via GRAPH_COMPUTE buffer=0 bypass in llama.cpp RPC backend Affected rangesb7499 – b8041, fixed in b8651 Fixed inb8651 CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H References
| ||||||
| High (5) | ||||||
| Status | IDs | Package | Severity | |||
Resolved in b10093 | llama.cpp | High | ||||
Summaryllama.cpp b3978–b9058 Integer Underflow via DRY Sampler Affected rangesb7499 – b8941, fixed in b10093 Fixed inb10093 References
| ||||||
Resolved in b10093 | llama.cpp | High | ||||
Summaryllama.cpp b1283–b9058 Integer Overflow in llama_batch_init() Function Affected rangesb7499 – b8941, fixed in b10093 Fixed inb10093 References
| ||||||
Resolved in b7843 | llama.cpp | High: 7.8 | ||||
Summaryllama.cpp has a Heap Buffer Overflow via Integer Overflow in GGUF Tensor Parsing Affected rangesb7499 – b7818, fixed in b7843 Fixed inb7843 CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | ||||||
Resolved in b8651 | llama.cpp | High: 7.8 | ||||
Summaryllama.cpp has a Heap Buffer Overflow via Integer Overflow in `mem_size` Calculation — Bypass of CVE-2025-53630 Fix Affected rangesb7499 – b8041, fixed in b8651 Fixed inb8651 CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | ||||||
Under investigation | llama.cpp | High: 8.8 | ||||
Summaryllama.cpp is an inference of several LLM models in C/C++. In commits 55d4206c8 and prior, the n_discard parameter is parsed directly from JSON input in the llama.cpp server's completion endpoints without validation to ensure it's non-negative. When a negative value is supplied and the context fills up, llama_memory_seq_rm/add receives a reversed range and negative offset, causing out-of-bounds memory writes in the token evaluation loop. This deterministic memory corruption can crash the process or enable remote code execution (RCE). There is no fix at the time of publication. Affected ranges0.6.0 CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | ||||||
| Medium (2) | ||||||
| Status | IDs | Package | Severity | |||
Resolved in b7757 | llama.cpp | Medium | ||||
Summaryllama.cpp b5702–b7653 Out-of-Bounds Read Information Disclosure Affected rangesb7499, fixed in b7757 Fixed inb7757 References
| ||||||
Under investigation | llama.cpp | Medium: 6.6 | ||||
SummaryHeap-based Buffer Over-read in llama_model_load Affected ranges0.6.0 CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H | ||||||
| Low (0) | ||||||
| Status | IDs | Package | Severity | |||
| Unknown (0) | ||||||
| Status | IDs | Package | Severity | |||
Build provenance
Loading provenance
Build provenance
Sign in to see provenance at this commit.
Build provenance
Could not load provenance.
For the signed record of what the build used, see the Provenance tab.
67 components
No components match your filter.
| Packages | Version |
|---|---|
| llama.cppROOT | b10357 |
| acl | 2.4.0 |
| attr | 2.6.0 |
| autoconf | 2.73 |
| automake | 1.18.1 |
| bash | 5.3 |
| bash-bootstrap | 5.3 |
| binutils | 2.47 |
| bison | 3.8.2 |
| bzip2 | 1.0.8 |
| cmake | 4.4.2 |
| coreutils | 9.12 |
| curl | 8.22.0 |
| diffutils | 3.12 |
| expat | 2.8.5 |
| file | 5.48 |
| findutils | 4.11.0 |
| flex | 2.6.4 |
| gawk | 5.4.1 |
| gawk-bootstrap | 5.4.1 |
| gcc | 15.2.0 |
| gdbm | 1.26 |
| gettext | 1.0 |
| git | 2.55.0 |
| glibc | 2.44 |
| gmp | 6.3.0 |
| grep | 3.12 |
| gzip | 1.15 |
| hwdata | 0.410 |
| libcap | 2.78 |
| libffi | 3.8.0 |
| libidn2 | 2.3.8 |
| libpsl | 0.23.3 |
| libssh2 | 1.11.1 |
| libtool | 2.6.2 |
| libunistring | 1.4.2 |
| libuv | 1.52.1 |
| linux_headers | 6.12.43 |
| llvm | 21.1.8 |
| llvm-bootstrap | 21.1.8 |
| lz4 | 1.10.0 |
| m4 | 1.4.21 |
| make | 4.4.1 |
| meson | 1.12.0 |
| mpc | 1.4.1 |
| mpfr | 4.2.2 |
| ncurses | 6.6 |
| ninja | 1.13.2 |
| openssl | 3.6.5 |
| patch | 2.8 |
| pciutils | 3.15.0 |
| pcre2 | 10.49 |
| perl | 5.44.0 |
| pkgconf | 3.0.5 |
| python | 3.14.8 |
| readline | 8.3 |
| rust | 1.99.0 |
| rustc-1.98.1 | 1.98.1 |
| sed | 4.10 |
| setuptools | 84.0.0 |
| sqlite | 3.53.4 |
| tar | 1.35 |
| tzdata | 2026e |
| util-linux | 2.42.4 |
| xz | 5.8.4 |
| zlib | 1.3.2 |
| zstd | 1.5.7 |