{
 "id": "AIR-2025-0335",
 "slug": "cve-2025-6638-hugging-face-transformers-vulnerable-to-redos",
 "title": "CVE-2025-6638: Hugging Face Transformers vulnerable to ReDoS via MarianTokenizer",
 "summary": "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.",
 "type": "attack_on_ai",
 "categories": [
  "infra_vuln"
 ],
 "severity": 2,
 "targets": [
  "framework_or_tooling"
 ],
 "products": [
  "transformers",
  "MarianTokenizer"
 ],
 "incident_date": "2025-09-12",
 "incident_date_precision": "day",
 "first_reported": "2025-09-12",
 "sources": [
  {
   "url": "https://github.com/advisories/GHSA-59p9-h35m-wg4g",
   "publisher": "GitHub Advisory Database",
   "title": "CVE-2025-6638: Hugging Face Transformers is vulnerable to ReDoS through its MarianTokenizer",
   "published_at": "2025-09-12"
  },
  {
   "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-6638",
   "publisher": "NVD",
   "title": "CVE-2025-6638: A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the Hugging Face Transformers library,…",
   "published_at": "2025-09-12"
  }
 ],
 "source_count": 2,
 "confidence": 0.95,
 "status": "published",
 "origin": "seed_ghsa",
 "tags": [
  "CVE-2025-6638",
  "redos",
  "denial-of-service"
 ],
 "created_at": "2026-10-18T07:00:14.101Z",
 "updated_at": "2026-10-18T10:04:21.885Z"
}
