{"action":"Upgrade transformers to 4.53.0 or later.","affected":[{"fixed":"4.53.0","introduced":"0"}],"component":"transformers","cve_ids":["CVE-2025-6921"],"ecosystem":"PyPI","epss":0.00511,"exploited":false,"fixed_versions":["4.53.0"],"ghsa_id":"GHSA-4w7r-h757-3r74","id":"tcs_01M5KGWSYZ8FQ3KY7AP1ZKBTTS","modified_at":"2026-07-07T17:48:13.614617956Z","published_at":"2026-07-07T16:03:05.256373Z","references":["https://osv.dev/vulnerability/PYSEC-2026-1980","https://nvd.nist.gov/vuln/detail/CVE-2025-6921","https://github.com/huggingface/transformers/commit/47c34fba5c303576560cb29767efb452ff12b8be","https://github.com/huggingface/transformers/commit/d37f7517972f67e3f2194c000ed0f87f064e5099","https://github.com/huggingface/transformers","https://huntr.com/bounties/287d15a7-6e7c-45d2-8c05-11e305776f1f","https://pypi.org/project/transformers","https://github.com/advisories/GHSA-4w7r-h757-3r74"],"severity":{"label":"medium","score":5.3},"sources":[{"source":"osv","source_id":"PYSEC-2026-1980","url":"https://osv.dev/vulnerability/PYSEC-2026-1980"}],"summary":"Hugging Face Transformers vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer"}