CVE-2025-3262
NixOS vulnerability analysis and mitigation

Overview

A Regular Expression Denial of Service (ReDoS) vulnerability (CVE-2025-3262) was discovered in the huggingface/transformers repository version 4.49.0. The vulnerability exists in the SETTING_RE variable within the transformers/commands/chat.py file, where inefficient regular expression complexity could lead to potential denial-of-service conditions. The issue was disclosed on July 7, 2025, and has been fixed in version 4.51.0 (NVD).

Technical details

The vulnerability stems from inefficient regular expression complexity in the chat.py file, specifically in the SETTING_RE variable. The regex implementation contains repetition groups and non-optimized quantifiers that can cause exponential backtracking when processing 'almost matching' payloads. The vulnerability has been assigned a CVSS v3.0 base score of 5.3 (Medium) with the vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (NVD, Huntr).

Impact

When exploited, this vulnerability can degrade application performance and potentially result in a denial-of-service (DoS) condition when handling specially crafted input strings. The impact is primarily focused on availability, with no direct effect on confidentiality or integrity of the system (NVD).

Mitigation and workarounds

The vulnerability has been fixed in huggingface/transformers version 4.51.0. Users are advised to upgrade to this version or later to mitigate the vulnerability (Github).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-65622MEDIUM5.4
  • PHPPHP
  • snipe-it
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management