llama-cpp-python: known vulnerabilities and the safe version

PyPI1 records

The version to be on

Version 0.2.72 or later fixes every vulnerability on this page that has a recorded fix.

Upgrade llama-cpp-python with pip

pip install --upgrade "llama-cpp-python>=0.2.72"
pip show llama-cpp-python | grep Version

Pin it in requirements.txt

llama-cpp-python>=0.2.72

Check the release notes before a large jump in version. Newer vulnerabilities may have been found since this page was updated.

Watch llama-cpp-python

Get an email only when llama-cpp-python has a new vulnerability record. Unsubscribe with one click.

Badge for your README

Shows the number of known critical and high vulnerabilities in llama-cpp-python and the version that fixes them. It updates by itself.

SecurityElites AI vulnerability status for llama-cpp-python

Markdown

[![SecurityElites AI vulnerability status](https://securityelites.com/ai-vulnerabilities/package/llama-cpp-python/badge/)](https://securityelites.com/ai-vulnerabilities/package/llama-cpp-python/)

All records

  • llama-cpp-python vulnerable to Remote Code Execution by Server-Side Template Injection in Model MetadataUnknown · CVE-2024-34359 · fixed in 0.2.72 · 13 May 2024