CVE-2025-2099: Hugging Face Transformers Regular Expression Denial of Service
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
A regular expression denial of service vulnerability exists in the preprocessing utility of Hugging Face Transformers before version 4.50.0. Specially crafted inputs can trigger catastrophic backtracking, degrading system availability.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Framework / tooling
- products
- Transformers
- incident date
- 19 May 2025
- first reported
- 19 May 2025
- origin
- GitHub Advisory DatabaseVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2025-2099 · redos · huggingface
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 07:00Z · json
Sources · 1
- 2025-05-19CVE-2025-2099: Hugging Face Transformers Regular Expression Denial of ServiceGitHub Advisory Database · github.com/advisories/GHSA-qq3j-4f4f-9583
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2025-09-14CVE-2025-6051: ReDoS vulnerability in Hugging Face Transformers EnglishNormalizer2 Disclosedon AIInfra vuln2 src
- 2025-08-06CVE-2025-5197: Hugging Face Transformers ReDoS Vulnerability2 Disclosedon AIInfra vuln2 src
- 2025-07-11CVE-2025-3933: Transformers vulnerable to ReDoS in DonutProcessor2 Disclosedon AIInfra vuln2 src
- 2025-07-07CVE-2025-3777: Transformers vulnerable to improper input validation in image_utils2 Disclosedon AIInfra vuln2 src
- 2024-11-22CVE-2024-11394: Deserialization vulnerability in Hugging Face Transformers2 Disclosedon AIInfra vuln2 src
- 2024-11-22CVE-2024-11393: Deserialization vulnerability in Hugging Face Transformers2 Disclosedon AIInfra vuln2 src