What happened
llamafile_open_zip in the container parser takes a manipulated size argument that causes an out-of-bounds read. Fixed in 0.10.6.
Why it matters
llamafile packages LLM weights into a single executable; an OOB read in the container parser is a memory-safety defect in model-serving tooling that could expose memory or crash the serving process when a crafted model container is loaded.
Attack vector
CWE-119/CWE-125 out-of-bounds read in llamafile/llamafile.c (llamafile_open_zip) driven by the container-parser size argument. CVSS 3.1 6.3 (AV:N/AC:L/PR:N/UI:R), remotely triggerable.
Affected systems
mozilla-ai llamafile <= 0.10.5 (fixed in 0.10.6)
Mitigation
Upgrade llamafile to 0.10.6 (commit 5ac1c4d, PR #1044).