Skip to content
Heist/ feed
Back to feed
High

Hugging Face Transformers X-CLIP Checkpoint Conversion Deserialization of Untrusted Data Remote Code Execution Vulnerability

Type: advisorySources: OSV

Hugging Face Transformers X-CLIP Checkpoint Conversion Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of checkpoints. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28308.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-14929
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:24 UTC · Revision 1

Source evidence

Hugging Face Transformers X-CLIP Checkpoint Conversion Deserialization of Untrusted Data Remote Code Execution Vulnerability

core-osv · Original source

Published 23 Dec 2025, 21:04 UTC

Hugging Face Transformers X-CLIP Checkpoint Conversion Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of checkpoints. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28308.

osv:CVE-2025-14929
Complete source record
{
  "id": "2a28c75bf2012cf4528f2bc30f528a3b68968850ef87461a76167006e034a900",
  "url": "https://osv.dev/vulnerability/CVE-2025-14929",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Hugging Face Transformers X-CLIP Checkpoint Conversion Deserialization of Untrusted Data Remote Code Execution Vulnerability",
    "summary": "Hugging Face Transformers X-CLIP Checkpoint Conversion Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of checkpoints. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28308.",
    "evidence": "osv:CVE-2025-14929",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-14929",
      "aliases": [
        "CVE-2025-14929",
        "PYSEC-2025-217"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/huggingface/transformers",
              "type": "GIT",
              "events": [
                {
                  "introduced": "cbc6716945cff1d8e124d344ba0150e6e27f8b6e"
                },
                {
                  "last_affected": "cbc6716945cff1d8e124d344ba0150e6e27f8b6e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:huggingface:transformers:5.0.0:rc0:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.0.0-rc0"
                      },
                      {
                        "last_affected": "5.0.0-rc0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.0.0-rc0",
            "v5.0.0rc0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-14929.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.002970486Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14929.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-14929",
        "https://www.zerodayinitiative.com/advisories/ZDI-25-1144/"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-502"
        ],
        "cna_assigner": "zdi",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "d1c6310d6a02481d48d81607cba7840be04580d1"
                  },
                  {
                    "last_affected": "d1c6310d6a02481d48d81607cba7840be04580d1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14929.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-14929",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488318,
  "published_at": "2025-12-23T21:04:15.474+00:00"
}