tocsin

PyPI/transformers CVE-2025-2099: high 7.5, EPSS 0.61%

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

Action: Upgrade transformers to 4.49.0 or later.

pip install transformers==4.49.0

Affected

introducedfixedlast affected
04.49.0-

Fixed versions

4.49.0

Sources

CVE-2025-2099 · published · modified · JSON