On July 7, 2026, the Open Source Vulnerability (OSV) database published a cluster of 12 advisories (PYSEC-2026-1977...
On July 7, 2026, the Open Source Vulnerability (OSV) database published a cluster of 12 advisories (PYSEC-2026-1977 through PYSEC-2026-1988) detailing vulnerabilities in the Hugging Face Transformers library.
confidence score
Strong evidence: 3 independent source classes support this read.
signal brief
On July 7, 2026, the Open Source Vulnerability (OSV) database published a cluster of 12 advisories (PYSEC-2026-1977 through PYSEC-2026-1988) detailing vulnerabilities in the Hugging Face Transformers library. The advisories include multiple Regular Expression Denial of Service (ReDoS) vulnerabilities (CVE-2025-3933, CVE-2025-3262, CVE-2025-6921, CVE-2025-6638, CVE-2024-12720, CVE-2025-5197, CVE-2025-1194, CVE-2025-3264, CVE-2025-3263, CVE-2025-6051), a deserialization vulnerability (CVE-2024-3568), and an improper input validation vulnerability (CVE-2025-3777). These vulnerabilities affect core components like the DonutProcessor, MarianTokenizer, AdamWeightDecay optimizer, and configuration file handling. Exploitation could lead to service disruption or arbitrary code execution. The sheer number and breadth of these CVEs raise significant security concerns for organizations relying on the Transformers library. Hugging Face released version 5.13.1 on July 11, likely addressing some of these issues, but no official patch notes have been provided. This event signals a negative security posture for Hugging Face's key product.
What the sources said:
- OSV advisory PYSEC-2026-1977: "Transformers is vulnerable to ReDoS attack through its DonutProcessor class" (source).
- OSV advisory PYSEC-2026-1978: "Transformers Deserialization of Untrusted Data vulnerability" (source).
- OSV advisory PYSEC-2026-1986: "Transformers's Improper Input Validation vulnerability can be exploited through username injection" (source).
source data used
“Downloads: 0 Likes: 0 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: safetensors, region:us”
“Downloads: 0 Likes: 0 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: frequency-filter-middleware, enterprise, low-resource-llm, frequency-filter, text-generation, en, license:mit, endpoints_compatible, region:us”
“Downloads: 140 Likes: 0 Tags: peft, tensorboard, safetensors, base_model:adapter:unsloth/whisper-large-v3-turbo, lora, transformers, unsloth, arxiv:1910.09700, base_model:unsloth/whisper-large-v3-turbo, region:us”
“Downloads: 0 Likes: 0 Tags: safetensors, region:us”
“Downloads: 0 Likes: 0 Tags: litert-lm, litertlm, webgpu, on-device, agentic, gemma4, es, en, license:gemma, region:us”
“Downloads: 0 Likes: 0 Tags: diffusiongemma, text-diffusion, gptq, modeldeck, rocm, amd, base_model:google/diffusiongemma-26B-A4B-it, base_model:quantized:google/diffusiongemma-26B-A4B-it, license:apache-2.0, region:us”
“Downloads: 0 Likes: 0 Tags: safetensors, region:us”
“Downloads: 0 Likes: 3 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: safetensors, region:us”
“Downloads: 0 Likes: 0 Tags: region:us”
“Downloads: 24 Likes: 0 Tags: transformers, tensorboard, safetensors, distilbert, text-classification, generated_from_trainer, base_model:distilbert/distilbert-base-uncased, base_model:finetune:distilbert/distilbert-base-uncased, license:apache-2.0, text-embeddings-inference, endpoints_compatible, re”
“Downloads: 0 Likes: 0 Tags: safetensors, gemma, region:us”
“Downloads: 0 Likes: 5 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: license:apache-2.0, region:us”
“Downloads: 0 Likes: 0 Tags: safetensors, region:us”
“Downloads: 0 Likes: 3 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: qwen3_5, license:apache-2.0, region:us”
“Downloads: 0 Likes: 0 Tags: transformers, safetensors, roberta, text-classification, generated_from_trainer, base_model:Qualcomm-AI-Research/BamiBERT, base_model:finetune:Qualcomm-AI-Research/BamiBERT, license:other, text-embeddings-inference, endpoints_compatible, region:us”
“Downloads: 0 Likes: 0 Tags: safetensors, region:us”
“Downloads: 0 Likes: 0 Tags: onnx, region:us”
“Downloads: 0 Likes: 0 Tags: CellRecoveryModel, region:us”
“Downloads: 4 Likes: 0 Tags: kernels, license:apache-2.0, region:us”
“Downloads: 6 Likes: 0 Tags: kernels, license:apache-2.0, region:us”
“Downloads: 971 Likes: 0 Tags: CellRecoveryModel, region:us”
“Downloads: 0 Likes: 5 Tags: safetensors, region:us”
“Downloads: 0 Likes: 4 Tags: transformers, tensorboard, safetensors, ida-family, ida-lattice, causal-lm, ai-body, paired-body, governed-memory, recurrent-state, local-attention, cognitive-routing”
“Downloads: 34 Likes: 0 Tags: onnx, yolo, object-detection, anomaly-detection, industrial-inspection, gas-infrastructure, license:mit, region:us”
“Downloads: 0 Likes: 0 Tags: safetensors, region:us”
“Downloads: 0 Likes: 0 Tags: musubi-tuner, lora, krea2, image-generation, region:us”
“Downloads: 0 Likes: 9 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: safetensors, license:apache-2.0, region:us”
“Downloads: 0 Likes: 0 Tags: region:us”
“Downloads: 0 Likes: 1 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: safetensors, region:us”
“Downloads: 96 Likes: 0 Tags: CellRecoveryModel, region:us”
“Downloads: 0 Likes: 0 Tags: region:us”
“Downloads: 0 Likes: 2 Tags: pytorch, finance, trading, time-series, transformer, moe, grouped-query-attention, stock-prediction, forex-prediction, license:mit, region:us”
“Downloads: 0 Likes: 0 Tags: security, proof-of-concept, vulnerability-research, model-file-format, huntr, license:apache-2.0, region:us”
“Downloads: 0 Likes: 0 Tags: tensorboard, safetensors, region:us”
“Downloads: 0 Likes: 0 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: safetensors, region:us”
“Downloads: 0 Likes: 0 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: sentence-similarity, en, license:apache-2.0, region:us”
“Downloads: 0 Likes: 0 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: region:us”
“Downloads: 894 Likes: 0 Tags: region:us”
“Downloads: 42 Likes: 0 Tags: size_categories:10K<n<100K, format:parquet, modality:tabular, modality:text, library:datasets, library:dask, library:polars, library:mlcroissant, region:us”
“Downloads: 6557 Likes: 4 Tags: region:us”
“Downloads: 608 Likes: 0 Tags: region:us”
“Downloads: 0 Likes: 1 Tags: language:zh, language:en, region:us, 16sephirot, ai-synthetic-data, mental-health, philosophy, kabbalah”
“Downloads: 687 Likes: 0 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: region:us”
“Downloads: 10608 Likes: 12 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: region:us”
“Downloads: 10602 Likes: 2 Tags: region:us”
“Downloads: 48 Likes: 0 Tags: region:us”
“Downloads: 520 Likes: 0 Tags: license:apache-2.0, region:us”
“Downloads: 0 Likes: 0 Tags: region:us”
“Downloads: 741 Likes: 0 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: region:us”
“Downloads: 0 Likes: 0 Tags: task_categories:video-text-to-text, language:en, license:cc-by-4.0, size_categories:100K<n<1M, modality:video, region:us, video, streaming, real-time-interaction”
“Downloads: 1842 Likes: 2 Tags: size_categories:10K<n<100K, region:us”
“Downloads: 787 Likes: 1 Tags: license:mit, region:us”
“Downloads: 478 Likes: 0 Tags: region:us”
“Downloads: 0 Likes: 1 Tags: language:zh, language:en, region:us, 16sephirot, ai-synthetic-data, mental-health, philosophy, kabbalah”
“Downloads: 20021 Likes: 11 Tags: region:us”
“Downloads: 20490 Likes: 332 Tags: task_categories:text-generation, task_categories:feature-extraction, task_categories:text-classification, task_categories:question-answering, language:en, license:odc-by, size_categories:10M<n<100M, modality:text, region:us, hacker-news, forum, text”
“Downloads: 28663 Likes: 1 Tags: region:us”
“Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.”
“Aliases: CVE-2025-3933, GHSA-37mw-44qp-f5jm Transformers is vulnerable to ReDoS attack through its DonutProcessor class”
“Aliases: CVE-2024-3568, GHSA-37q5-v5qm-c9v8 Transformers Deserialization of Untrusted Data vulnerability”
“Aliases: CVE-2025-3262, GHSA-489j-g2vx-39wf Transformers vulnerable to ReDoS attack through its SETTING_RE variable”
“Aliases: CVE-2025-6921, GHSA-4w7r-h757-3r74 Hugging Face Transformers vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer”
“Aliases: CVE-2025-6638, GHSA-59p9-h35m-wg4g Hugging Face Transformers is vulnerable to ReDoS through its MarianTokenizer”
“Aliases: CVE-2024-12720, GHSA-6rvg-6v2m-4j46 Transformers Regular Expression Denial of Service (ReDoS) vulnerability”
“Aliases: CVE-2025-5197, GHSA-9356-575x-2w9m Hugging Face Transformers Regular Expression Denial of Service (ReDoS) vulnerability”
“Aliases: CVE-2025-1194, GHSA-fpwr-67px-3qhx Transformers Regular Expression Denial of Service (ReDoS) vulnerability”
“Aliases: CVE-2025-3264, GHSA-jjph-296x-mrcr Transformers vulnerable to ReDoS attack through its get_imports() function”
“Aliases: CVE-2025-3777, GHSA-phhr-52qp-3mj4 Transformers's Improper Input Validation vulnerability can be exploited through username injection”
“Aliases: CVE-2025-3263, GHSA-q2wp-rjmx-x6x9 Transformers's ReDoS vulnerability in get_configuration_file can lead to catastrophic backtracking”
“Aliases: CVE-2025-6051, GHSA-rcv9-qm8p-9p6j Hugging Face Transformers library has Regular Expression Denial of Service”
Decision support, not stock advice. This signal is research with cited evidence — not a recommendation to buy, sell, or hold any security.