Approved changes feed: RSS · Atom

cpe:2.3:a:huggingface:transformers:5.0.0:rc0:*:*:*:*:*:*

part: a version: 5.0.0 update: rc0

VendorHuggingface (99e96d05-83c7-5fa6-87a0-b60fade6cd99)
ProductTransformers (b4ce00f1-117d-532e-8476-9985a60eef6e)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from NVD CPE 2.0 feed

PURL mappings

PURLSourceLast updated
pkg:github/huggingface/transformers purl2cpe 2026-06-01 10:17:04.507281
pkg:pypi/transformers purl2cpe 2026-06-01 10:17:04.507282

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-1839 vulnerable 2026-06-08 07:49:09.740095 Arbitrary Code Execution via Unsafe torch.load() in Trainer Checkpoint Loading in huggingface/transformers
MEDIUM (6.5)
A vulnerability in the HuggingFace Transformers library, specifically in the `Trainer` class, allows for arbitrary code execution. The `_load_rng_state()` method in `src/transformers/trainer.py` at line 3059 calls `torch.load()` without the `weights_only=True` parameter. This issue affects all versions of the library supporting `torch>=2.2` when used with PyTorch versions below 2.6, as the `safe_globals()` context manager provides no protection in these versions. An attacker can exploit this vulnerability by supplying a malicious checkpoint file, such as `rng_state.pth`, which can execute arbitrary code when loaded. The issue is resolved in version v5.0.0rc3.
Published: 2026-04-07T05:22:00.959Z
Updated: 2026-04-07T13:27:41.789Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-14929 vulnerable 2026-06-08 07:06:35.387449 Hugging Face Transformers X-CLIP Checkpoint Conversion Deserialization of Untrusted Data Remote Code Execution Vulnerability
HIGH (7.8)
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.
Published: 2025-12-23T21:04:15.474Z
Updated: 2025-12-24T16:24:34.136Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.