{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-3262","published":"2025-07-07T10:15:27.200000Z","last_modified":"2026-06-17T09:19:32.770000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-1333"],"cpes":[{"criteria":"cpe:2.3:a:huggingface:transformers:*:*:*:*:*:*:*:*","part":"a","vendor":"huggingface","product":"transformers","version_end_excluding":"4.51.0"}],"cpes_truncated":false,"vendors":["huggingface"],"products":["huggingface/transformers"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-489j-g2vx-39wf","ecosystem":"PyPI","name":"transformers","purl":"pkg:pypi/transformers","ranges":[{"introduced":"4.49.0","fixed":"4.51.0"}],"versions":["4.49.0","4.50.0","4.50.1","4.50.2","4.50.3"],"versions_truncated":false},{"advisory":"PYSEC-2026-1979","ecosystem":"PyPI","name":"transformers","purl":"pkg:pypi/transformers","ranges":[{"introduced":"4.49.0","fixed":"4.51.0"}],"versions":["4.49.0","4.50.0","4.50.1","4.50.2","4.50.3"],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2025-3262/","html_en":"/en/cve/CVE-2025-3262/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-3262","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-3262"},"untrusted":{"vendor_name":"Huggingface","product_name":"Transformers","desc_en":"A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the huggingface/transformers repository, specifically in version 4.49.0. The vulnerability is due to inefficient regular expression complexity in the `SETTING_RE` variable within the `transformers/commands/chat.py` file. The regex contains repetition groups and non-optimized quantifiers, leading to exponential backtracking when processing 'almost matching' payloads. This can degrade application performance and potentially result in a denial-of-service (DoS) when handling specially crafted input strings. The issue is fixed in version 4.51.0.","affected":[{"untrusted_vendor":"huggingface","untrusted_product":"huggingface/transformers","versions":[]}],"references":[{"url":"https://github.com/huggingface/transformers/commit/0720e206c6ba28887e4d60ef60a6a089f6c1cc76","tags":["Patch"]},{"url":"https://huntr.com/bounties/ecf5ccc4-39e7-4fb3-b547-14a41d31a184","tags":["Exploit","Third Party Advisory"]}]}}