CVE-2025-5197
2 advisories.
PyPI/transformers CVE-2025-5197: medium 5.3
Hugging Face Transformers Regular Expression Denial of Service (ReDoS) vulnerability
Action: Upgrade transformers to 4.53.0 or later.
pip install transformers==4.53.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 4.53.0 | - |
Fixed versions
| 4.53.0 |
Sources
- osv: GHSA-9356-575x-2w9m
- https://nvd.nist.gov/vuln/detail/CVE-2025-5197
- https://github.com/huggingface/transformers/commit/701caef704e356dc2f9331cc3fd5df0eccb4720a
- https://github.com/huggingface/transformers/commit/944b56000be5e9b61af8301aa340838770ad8a0b
- https://github.com/huggingface/transformers
- https://huntr.com/bounties/3f8b3fd0-166b-46e7-b60f-60dd9d2678bf
CVE-2025-5197 · published · modified · JSON
PyPI/transformers CVE-2025-5197: medium 5.3
Hugging Face Transformers Regular Expression Denial of Service (ReDoS) vulnerability
Action: Upgrade transformers to 4.53.0 or later.
pip install transformers==4.53.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 4.53.0 | - |
Fixed versions
| 4.53.0 |
Sources
- osv: PYSEC-2026-1983
- https://nvd.nist.gov/vuln/detail/CVE-2025-5197
- https://github.com/huggingface/transformers/commit/701caef704e356dc2f9331cc3fd5df0eccb4720a
- https://github.com/huggingface/transformers/commit/944b56000be5e9b61af8301aa340838770ad8a0b
- https://github.com/huggingface/transformers
- https://huntr.com/bounties/3f8b3fd0-166b-46e7-b60f-60dd9d2678bf
- https://pypi.org/project/transformers
- https://github.com/advisories/GHSA-9356-575x-2w9m
CVE-2025-5197 · published · modified · JSON