CVE-2025-6051
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
Description
Hugging Face Transformers library has Regular Expression Denial of Service
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-6051
- https://github.com/huggingface/transformers/pull/38844
- https://github.com/huggingface/transformers/commit/54a02160eb030da9be18231c77791f2eb3a52216
- https://github.com/huggingface/transformers/commit/ba8eaba9865618253f997784aa565b96206426f0
- https://github.com/huggingface/transformers
- https://huntr.com/bounties/af929523-7b59-418a-bf55-301830b2ac9d
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.