CVE-2025-5197
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
Description
Hugging Face Transformers Regular Expression Denial of Service (ReDoS) vulnerability
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | transformers | <4.53.0 | 4.53.0 |
References
- 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
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.