TECHNOLOGY

PickleScan CVE-2025-10156: an archive error is not a clean scan

In this article
THE QUICK TAKE

A scanner can return no findings because it failed before inspecting the archive; completion status must accompany the findings list.

PickleScan’s bad-CRC advisory describes a failure of scan coverage rather than a new way to authenticate a model. An archive checksum mismatch could stop inspection while another loader might still accept the contents. The operational lesson is to keep a completed scan with no findings distinct from a scan that produced no findings because it failed.

Preserve the affected scanner versions

The original project advisory, published September 8, 2025, identifies PickleScan versions through 0.0.30 and lists 0.0.31 as patched. The associated vulnerability is CVE-2025-10156. This is a historical version boundary for the described defect, not a guarantee that one scanner release detects every harmful model.

The reported behavior arises when an archive entry has a bad cyclic redundancy check. Archive handling can raise an error before the relevant pickle content is analyzed. An empty findings array in that situation says nothing about unexamined entries.

Scanner and loader can parse the same bytes differently

The advisory highlights a mismatch between stricter archive checking in the scanner and model-loading paths that may tolerate or bypass CRC verification. A file rejected by one parser is not necessarily unusable by another. A workflow that treats scanner failure as approval therefore creates a coverage gap.

This does not mean every CRC mismatch indicates an attack. Corruption and packaging differences can also produce the condition. Conversely, a matching CRC is not proof that content is benign or that the producer is trusted. CRC is an error-detection mechanism, not an identity signature.

Read what the patch actually changes

The original fixing commit advances the package version and changes its relaxed archive reader so inspection can proceed despite CRC mismatch. It also includes additional scanner changes for other advisories. Those should not all be described as the same CRC issue.

The patch’s purpose is to inspect content that a downstream loader might consume. It does not repair the model, validate its scientific behavior or instruct an application to ignore integrity failures during ordinary loading. Scanner parsing policy and deployment acceptance policy remain separate decisions.

Retain completion and coverage with findings

A useful scan record includes the artifact identity, scanner version, completion status, inspected members and any parsing errors. If coverage is incomplete, the artifact has an unresolved inspection result. Automatically converting an exception into an empty successful report discards the most important information.

The artifact-validation guide distinguishes serialization, tensor structure and provenance. Apply the same separation to scan outputs: a suspicious-reference finding, a parsing failure and a manifest mismatch are different observations. None should be overwritten merely because the final user interface expects a single boolean result.

Verify the workflow without loading unknown code

After updating a scanner, validate handling of trusted regression fixtures and preserve whether inspection completes. The findings should remain attached to the exact bytes subsequently accepted, rather than a similarly named file replaced after scanning. A checksum helps connect those stages, while trust in its reference source remains another question.

The reproducible-stack guide supplies the environment record for this verification. The advisory demonstrates a concrete parser mismatch; it does not establish a count of exploited repositories or authorize treating a successful scan as blanket permission to execute an unfamiliar model.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles