{"cve":"CVE-2025-1194","nvd":{"published":"2025-04-29T12:15:31.717","modified":"2026-06-17T08:38:34.587","status":"Analyzed","description":"A Regular Expression Denial of Service (ReDoS) vulnerability was identified in the huggingface/transformers library, specifically in the file `tokenization_gpt_neox_japanese.py` of the GPT-NeoX-Japanese model. The vulnerability occurs in the SubWordJapaneseTokenizer class, where regular expressions process specially crafted inputs. The issue stems from a regex exhibiting exponential complexity under certain conditions, leading to excessive backtracking. This can result in high CPU usage and potential application downtime, effectively creating a Denial of Service (DoS) scenario. The affected version is v4.48.1 (latest).","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5},"cwes":["CWE-1333"],"references":["https://github.com/huggingface/transformers/commit/92c5ca9dd70de3ade2af2eb835c96215cc50e815","https://huntr.com/bounties/86f58dcd-683f-4adc-a735-849f51e9abb2","https://huntr.com/bounties/86f58dcd-683f-4adc-a735-849f51e9abb2"],"products":["huggingface:transformers"],"source":"nvd","synced_at":"2026-10-19T22:01:11.054312287+00:00"},"epss":{"cve":"CVE-2025-1194","score":0.00492,"percentile":0.42308,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-fpwr-67px-3qhx","url":"https://osv.dev/vulnerability/GHSA-fpwr-67px-3qhx","summary":"Transformers Regular Expression Denial of Service (ReDoS) vulnerability","modified":"2026-08-13T20:11:58.399313771Z","packages":[{"ecosystem":"PyPI","name":"transformers","purl":"pkg:pypi/transformers","ranges":["<4.50.0"],"fixed":["4.50.0"]}]},{"id":"PYSEC-2026-1984","url":"https://osv.dev/vulnerability/PYSEC-2026-1984","summary":"Transformers Regular Expression Denial of Service (ReDoS) vulnerability","modified":"2026-07-07T17:48:14.209825898Z","packages":[{"ecosystem":"PyPI","name":"transformers","purl":"pkg:pypi/transformers","ranges":["<4.50.0"],"fixed":["4.50.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}