Live threats

All CVEs / Huggingface

CVE-2025-1194Huggingface Transformers

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
0.7%
probability of exploitation in 30 days · percentile 47
Auth required
No
Published
Apr 29, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

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).

Original NVD text.

What to do

  1. Apply the vendor's security update for Transformers.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI transformers < 4.50.0 4.50.0 pip install "transformers>=4.50.0"
PyPI transformers < 4.50.0 4.50.0 pip install "transformers>=4.50.0"

Per OSV / GitHub Advisories (GHSA-fpwr-67px-3qhx, PYSEC-2026-1984). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
huggingfacetransformers< 4.50.0

Official sources

References

Links published by the sources. Open them with care.