{"action":"Upgrade transformers to 4.49.0 or later.","affected":[{"fixed":"4.49.0","introduced":"0"}],"component":"transformers","cve_ids":["CVE-2025-2099"],"ecosystem":"PyPI","epss":0.00608,"exploited":false,"fixed_versions":["4.49.0"],"ghsa_id":"GHSA-qq3j-4f4f-9583","id":"tcs_01M5KGPMRC4PQQ6NJ6GNXTP1GW","modified_at":"2026-06-10T17:02:48.111891265Z","published_at":"2025-05-19T12:15:19Z","references":["https://osv.dev/vulnerability/PYSEC-2025-40","https://huntr.com/bounties/97b780f3-ffca-424f-ad5d-0e1c57a5bde4","https://github.com/huggingface/transformers/commit/8cb522b4190bd556ce51be04942720650b1a3e57","https://github.com/advisories/GHSA-qq3j-4f4f-9583"],"severity":{"label":"high","score":7.5},"sources":[{"source":"osv","source_id":"PYSEC-2025-40","url":"https://osv.dev/vulnerability/PYSEC-2025-40"}],"summary":"A vulnerability in the `preprocess_string()` function of the `transformers.testing_utils` module in huggingface/transformers version v4.48.3 allows for a Regular Expression Denial of Service (ReDoS) a"}