Skip to content
Connect AISign inSign up free
CVE-2024-127205.3MediumCWE-1333

CVE-2024-12720: Regular Expression Denial of Service (ReDoS) in huggingface/transformers

huggingface · huggingface/transformers

Vendor fix available · Affected: huggingface/transformers · Exploitation: unlikely (under 1%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

0.8%probability of exploitation in the next 30 days
55th percentile
050100

Higher than 55% of scored CVEs

5.3MediumCVSS 3.0
LowMedium

DescriptionCVE.org

A Regular Expression Denial of Service (ReDoS) vulnerability was identified in the huggingface/transformers library, specifically in the file tokenization_nougat_fast.py. The vulnerability occurs in the post_process_single() function, where a regular expression processes specially crafted input. The issue stems from the regex exhibiting exponential time complexity under certain conditions, leading to excessive backtracking. This can result in significantly high CPU usage and potential application downtime, effectively creating a Denial of Service (DoS) scenario. The affected version is v4.46.3 (latest).

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • huggingface · huggingface/transformersbefore 4.48.0

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Unlikely (under 1%). EPSS under 1%, or no score yet.
CISA KEV
Not listed
Public check
No public nuclei template
Published
March 2025

CoverageNo articles yet

No CyberSIXT article names CVE-2024-12720 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References