{
 "id": "AIR-2025-0345",
 "slug": "cve-2025-6921-hugging-face-transformers-vulnerable-to-redos",
 "title": "CVE-2025-6921: Hugging Face Transformers vulnerable to ReDoS in optimizer",
 "summary": "The Hugging Face transformers library contained a regular expression denial of service vulnerability in the AdamWeightDecay optimizer. A patch has been released in version 4.53.0 to resolve the issue.",
 "type": "attack_on_ai",
 "categories": [
  "infra_vuln"
 ],
 "severity": 2,
 "targets": [
  "framework_or_tooling"
 ],
 "products": [
  "transformers"
 ],
 "incident_date": "2025-09-23",
 "incident_date_precision": "day",
 "first_reported": "2025-09-23",
 "sources": [
  {
   "url": "https://github.com/advisories/GHSA-4w7r-h757-3r74",
   "publisher": "GitHub Advisory Database",
   "title": "CVE-2025-6921: Hugging Face Transformers vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer",
   "published_at": "2025-09-23"
  }
 ],
 "source_count": 1,
 "confidence": 0.95,
 "status": "published",
 "origin": "seed_ghsa",
 "tags": [
  "CVE-2025-6921",
  "redos",
  "huggingface"
 ],
 "created_at": "2026-10-18T07:00:14.101Z",
 "updated_at": "2026-10-18T07:00:14.101Z"
}
