Arbitrary Code Execution in Fujitsu OneCompression Library
Fujitsu OneCompression library version 1.2.0 is vulnerable to arbitrary code execution via unsafe deserialization in the QuantizedModelLoader component.
CVE search metadata
CVE search record: CVE-2026-73325. Severity: high. CVSS: 7.8. KEV: no. Product: OneCompression (1.2.0). Brief: Arbitrary Code Execution in Fujitsu OneCompression Library. Brief link: https://feed.craftedsignal.io/briefs/2026-08-fujitsu-onecompression-rce/
Fujitsu Research's OneCompression library version 1.2.0 contains a critical unsafe deserialization vulnerability, tracked as CVE-2026-73325. The flaw exists within the QuantizedModelLoader.load_quantized_model_pt() function, which unconditionally invokes the torch.load() method with the weights_only parameter set to False. By setting weights_only=False, the underlying PyTorch loader utilizes Python's pickle module for deserializing checkpoint files.
An attacker can supply a maliciously crafted model.pt checkpoint file containing an embedded reduce method. When the library processes this file, it triggers the execution of the attacker's Python code within the context of the host process. This vulnerability allows for arbitrary command execution on systems leveraging this library to load model checkpoints, posing a high risk for machine learning pipelines or applications that ingest externally provided model files.
Impact
Successful exploitation of this vulnerability leads to arbitrary code execution on systems running applications that utilize OneCompression version 1.2.0. This can result in full system compromise, data exfiltration, or persistence on the affected host. Any environment processing untrusted model files from external sources is at significant risk.
Recommendation
- Update the OneCompression library to the latest version once a patch is provided by the vendor.
- Implement strict input validation for all model checkpoint files to ensure they originate from trusted, verified sources.
- Monitor application environments for the execution of unexpected processes originating from processes that utilize the OneCompression library.
- Audit Python applications utilizing PyTorch to ensure torch.load() is used with weights_only=True whenever possible to mitigate deserialization risks globally.
Immediate actions
Review inventory for usage of OneCompression 1.2.0
Mitigations
Upgrade or restrict loading of untrusted .pt files
CVE-2026-73325