Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2025-2099

21
FAUCET Score

CVE-2025-2099 is a Regular Expression Denial of Service (ReDoS) vulnerability in the huggingface/transformers library, specifically affecting version v4.48.3. The flaw resides in the preprocess_string() function within transformers.testing_utils, where a poorly constructed regular expression with nested quantifiers can lead to exponential backtracking. An unauthenticated attacker can exploit this by submitting a specially crafted input containing numerous newline characters, causing high CPU utilization and a Denial of Service (DoS). With a CVSS score of 7.5 (HIGH), this vulnerability has a low attack complexity and no user interaction is required. There is currently no evidence of active exploitation, public exploit code, or significant community discussion surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
<= 4.48.3CPE matchmatch criteria
cpe:2.3:a:huggingface:transformers:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.0

5.3MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
LOW
Exploitability Score
3.9
Impact Score
1.4
CvssVersion
3.0

Exploit Intelligence

EPSS Score
0.51%
Probability of exploitation in next 30 days
EPSS Percentile
40.4%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.0051 is in the 18th percentile among its peer group of 51,553 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (7)

github_advisorypatch availablevia nvd_reference
View patch
pippatch availablevia ghsa
Product: transformersFixed in: 4.50.0
redhatpatch availablevia redhat_api
Product: Red Hat Ansible Automation Platform 2.5 for RHEL 8Fixed in: ansible-automation-platform-25/lightspeed-chatbot-rhel8:2.5.250730-2
View patch
redhatno patchvia redhat_api
Product: Red Hat Enterprise Linux AI (RHEL AI)Fixed in: rhelai1/bootc-intel-rhel9
redhatno patchvia redhat_api
Product: Red Hat Enterprise Linux AI (RHEL AI)Fixed in: rhelai1/instructlab-intel-rhel9
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux AI (RHEL AI)Fixed in: rhelai1/ui-rhel9
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux AI (RHEL AI)Fixed in: rhelai1/docling-serve-rhel9

Vendor Advisories (2)

pipGHSA-qq3j-4f4f-9583medium

Hugging Face Transformers Regular Expression Denial of Service

May 19, 2025
redhatCVE-2025-2099Moderate

transformers: Regular Expression Denial of Service (ReDoS) in huggingface/transformers

May 19, 2025

References

github.com / huggingface/transformers/commit/8cb522b4190bd556ce51be04942720650b1a3e57
Patch
huntr.com / bounties/97b780f3-ffca-424f-ad5d-0e1c57a5bde4
ExploitThird Party Advisory