{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-1194","id":"CVE-2025-1194","title":"Regular Expression Denial of Service (ReDoS) in huggingface/transformers","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 und","descriptionLong":"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).","published":"2025-04-29T11:30:38.810Z","updated":"2026-10-28T02:30:56.372972960Z","reserved":"2025-02-10T14:13:43.276Z","status":"Analyzed","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","rating":"medium","source":"OSV"},{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","rating":"medium","source":"@huntr_ai"},{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","rating":"medium","source":"huntr.dev"},{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","rating":"medium","source":"OSV"}],"rating":"medium","products":["huggingface/transformers"],"affectedProducts":[{"vendor":"huggingface","product":"huggingface/transformers","defaultStatus":null,"versions":[{"version":"unspecified","lessThan":"4.50.0","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"transformers","purl":"pkg:pypi/transformers","ranges":["<4.50.0"],"fixed":["4.50.0"],"advisory":"GHSA-fpwr-67px-3qhx"}],"cwes":["CWE-1333"],"aliases":["GHSA-fpwr-67px-3qhx","PYSEC-2026-1984"],"references":[{"url":"https://huntr.com/bounties/86f58dcd-683f-4adc-a735-849f51e9abb2","tags":["exploit","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/huggingface/transformers/commit/92c5ca9dd70de3ade2af2eb835c96215cc50e815","tags":["Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1194.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1194","tags":["advisory"]},{"url":"https://github.com/huggingface/transformers","tags":["package"]},{"url":"https://pypi.org/project/transformers","tags":["package"]},{"url":"https://github.com/advisories/GHSA-fpwr-67px-3qhx","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00492,"epssPercentile":0.43057,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-1194","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1194","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-1194","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fpwr-67px-3qhx","ok":true,"note":"GHSA-fpwr-67px-3qhx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-1194","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}