CVE-2025-6638: Hugging Face Transformers vulnerable to ReDoS via MarianTokenizer
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
Inefficient regular expression processing in the Hugging Face Transformers library enabled a denial of service via crafted inputs. The issue was fixed in version 4.53.0.
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, MarianTokenizer
- incident date
- 12 Sep 2025
- first reported
- 12 Sep 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-6638 · redos · denial-of-service
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json
Sources · 2
- 2025-09-12CVE-2025-6638: Hugging Face Transformers is vulnerable to ReDoS through its MarianTokenizerGitHub Advisory Database · github.com/advisories/GHSA-59p9-h35m-wg4g
- 2025-09-12CVE-2025-6638: A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library,…NVD · nvd.nist.gov/vuln/detail/CVE-2025-6638
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-23CVE-2025-6921: Hugging Face Transformers vulnerable to ReDoS in optimizer2 Disclosedon AIInfra vuln1 src
- 2025-07-07Hugging Face Transformers vulnerable to ReDoS in configuration utils2 Disclosedon AIInfra vuln2 src
- 2025-07-07Hugging Face Transformers vulnerable to ReDoS in get_imports2 Disclosedon AIInfra vuln2 src
- 2025-07-07Hugging Face Transformers vulnerable to ReDoS in SETTING_RE2 Disclosedon AIInfra vuln1 src
- 2025-04-29CVE-2025-1194: Transformers Regular Expression Denial of Service Vulnerability2 Disclosedon AIInfra vuln1 src
- 2025-03-20CVE-2024-12720: Transformers ReDoS Vulnerability2 Disclosedon AIInfra vuln1 src