Denial of Service Vulnerability in Hugging Face Transformers Library
CVE-2024-12720

7.5HIGH

Key Information:

Vendor
CVE Published:
20 March 2025

What is CVE-2024-12720?

A Denial of Service vulnerability has been identified in the Hugging Face Transformers library, specifically within the tokenization_nougat_fast.py file. The issue arises from the post_process_single() function, where a regular expression operates on specially crafted inputs. Under certain conditions, the regex demonstrates exponential time complexity, leading to excessive backtracking. This can cause a significant increase in CPU usage, potentially resulting in application downtime and service disruptions.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.

Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.

Affected Version(s)

huggingface/transformers < 4.48.0

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

CVSS V3.0

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.