Skip to content
Heist/ feed
Back to feed
High

Fujitsu OneCompression < 1.2.1 Arbitrary Code Execution via torch.load Deserialization

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-73325
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 13:29 UTC · Revision 1

Source evidence

Fujitsu OneCompression < 1.2.1 Arbitrary Code Execution via torch.load Deserialization

core-osv · Original source

Published 12 Aug 2026, 15:35 UTC

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.

osv:CVE-2026-73325
Complete source record
{
  "id": "c5d6e4fb7466c574e1a462a85f986185baec701d4b54ac645f61068b341aaf60",
  "url": "https://osv.dev/vulnerability/CVE-2026-73325",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Fujitsu OneCompression < 1.2.1 Arbitrary Code Execution via torch.load Deserialization",
    "summary": "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.",
    "evidence": "osv:CVE-2026-73325",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-73325",
      "aliases": [
        "CVE-2026-73325"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/fujitsuresearch/onecompression",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "70e89052a6b2c85a611185fa774880523c05e8ca"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.2.1"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.2.0",
            "v1.1.1",
            "v1.1.0",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73325.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.953183859Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73325.json",
        "https://github.com/FujitsuResearch/OneCompression/blob/main/SECURITY.md",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-73325",
        "https://www.vulncheck.com/advisories/fujitsu-onecompression-arbitrary-code-execution-via-torch-load-deserialization",
        "https://pypi.org/project/onecomp/1.2.1/",
        "https://pypi.org/project/onecomp/"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-502"
        ],
        "cna_assigner": "VulnCheck",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.2.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73325.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-73325",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 495860,
  "published_at": "2026-08-12T15:35:51.299+00:00"
}