Fujitsu Research OneCompression
Fujitsu OneCompression < 1.2.1 Arbitrary Code Execution via torch.load Deserialization
Fujitsu Research's OneCompression library before 1.2.1 contains an unsafe deserialization vulnerability that allows attackers to execute arbitrary code by supplying a crafted model.pt checkpoint file, as QuantizedModelLoader.load_quantized_model_pt() unconditionally calls torch.load with weights_only=False, invoking Python's pickle machinery during deserialization. Attackers can embed malicious __reduce__ methods in a crafted model checkpoint to execute arbitrary Python code, including system commands, when the library loads the file from a caller-selected model directory.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.2.1
Fixed in 1.2.1
Mitigation
Upgrade OneCompression to 1.2.1 or later.
References
- Vendor advisory github.com/FujitsuResearch/OneCompression/blob…
- Patch pypi.org/project/onecomp/1.2.1
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.