6.5

CVE-2025-1194: Regular Expression Denial of Service (ReDoS) in huggingface/transformers

Analyzed
AliasesGHSA-fpwr-67px-3qhxPYSEC-2026-1984
Published 29-04-2025Last modified 29-04-2025

Vulnerability summary

CVE-2025-1194 is a medium (CVSS 6.5) vulnerability in huggingface huggingface/transformers. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 42.3% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.49%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 29-04-2025
    PublishedVulnerability first disclosed.
  2. 29-04-2025
    Last modifiedVulnerability information updated.

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 metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.49%

Chance of exploitation in the next 30 days

Percentile

42%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.48% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (huntr.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Huggingface2 products
PyPI1 product
  • transformers< 4.50.0

2 vendors · 3 products

References

6 links