CVE-2026-133498

llamafile ZIP metadata could disable model-file bounds checks

mozilla-ai · Mozilla AI llamafile · ZIP model container

First documented disclosure · Review checkpoint

Summary

A crafted ZIP container could misstate the model’s size and crash the loader.

Severity and exploitation evidence

Medium · 5.3/10 · CVSS 4.0. Severity source.

Exploitation not established: Reviewed public sources describe the weakness, a correction or a controlled demonstration; malicious exploitation against users is not established.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

Unvalidated ZIP sizes, offsets and extra-field lengths flow into mappings and downstream model bounds checks.

Conditions required

A user or service loads an attacker-supplied model container.

Potential impact

Reproduced process crashes and bypassed size guards; a controlled write or code execution is not established.

Affected versions and configurations

CNA lists 0.10.1–0.10.5 with stray leading dots in version strings; upstream reproduction uses a July main snapshot.

Fix and mitigation status

0.10.6, released September 15, includes both model-window validation and extra-field header bounds fixes.

Practical next steps

Upgrade to 0.10.6 or later and treat model containers as untrusted input.

Operating lesson

Validate signed errors, offsets and final expanded ranges before mapping model files.

Evidence and limits

The original issue reports July 30 public disclosure, a July 31 correction to the first patch, and two merged fixes. CNA’s cited 5ac1c4d only addresses extra-field reads; release notes also include PR1039 for the container-window flaw. No remote execution claim is inferred from CNA network scoring. CNA publication is 2026-11-20; this is distinct from the earliest reviewed public source and correction dates. VulDB assessments: CVSS 4.0 5.3; CVSS 3.1 6.3; CVSS 3.0 6.3; CVSS 2.0 7.5.

Sources