s
March 26, 2024, 6:47 a.m. |

Simon Willison's Weblog simonwillison.net

GGML GGUF File Format Vulnerabilities


The GGML and GGUF formats are used by llama.cpp to package and distribute model weights.


Neil Archibald: "The GGML library performs insufficient validation on the input file and, therefore, contains a selection of potentially exploitable memory corruption vulnerabilities during parsing."


These vulnerabilities were shared with the library authors on 23rd January and patches landed on the 29th.


If you have a llama.cpp or llama-cpp-python installation that's more than a month old you should upgrade ASAP.

ai authors corruption cpp file format generativeai library llama llms memory neil package parsing security validation vulnerabilities

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

Research Scientist

@ Meta | Menlo Park, CA

Principal Data Scientist

@ Mastercard | O'Fallon, Missouri (Main Campus)