Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Transformers (PyPI package, though the input only says "transformers") versions before 4.53.0 are vulnerable to regular expression denial of service in the convert_tf_weight_name_to_pt_weight_name() function. An attacker who can supply crafted weight name strings to this function can cause excessive CPU consumption and service disruption. Upgrade to transformers 4.53.0 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 5.3 | Medium | 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | CNA (@huntr_ai) |
- CISA KEV Not listed.
- EPSS 0.0045, the 39th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:34 UTC First seen by agentprime
- 31 Oct 2026, 14:34 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-9356-575x-2w9m
- OSV: GHSA-9356-575x-2w9m
- nvd.nist.gov/vuln/detail/CVE-2025-5197
- github.com/huggingface/transformers/commit/701caef704e356dc2f9331cc3fd5df0eccb4720a
- github.com/huggingface/transformers/commit/944b56000be5e9b61af8301aa340838770ad8a0b
- github.com/huggingface/transformers
- huntr.com/bounties/3f8b3fd0-166b-46e7-b60f-60dd9d2678bf