8.4high
Fujitsu OneCompression < 1.2.1 Arbitrary Code Execution via torch.load Deserialization
- Severity
- 8.4high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.26% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Fujitsu Research OneCompression | before 1.2.1 | CVE List |
All scores
| VulnCheck | 8.4high CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
La biblioteca OneCompression 1.2.0 de Fujitsu Research contiene una vulnerabilidad de deserialización insegura que permite a los atacantes ejecutar código arbitrario al proporcionar un archivo de punto de control model.pt manipulado, ya que QuantizedModelLoader.load_quantized_model_pt() llama incondicionalmente a torch.load con weights_only=False, invocyo la maquinaria pickle de Python durante la deserialización. Los atacantes pueden incrustar métodos __reduce__ maliciosos en un punto de control de modelo manipulado para ejecutar código Python arbitrario, incluyendo comyos del sistema, cuyo la biblioteca carga el archivo desde un directorio de modelo seleccionado por el llamador.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-73325 changed 2026-08-25 | CVE Terms of Use |
| NVD | CVE-2026-73325 changed 2026-10-24 | Public domain |