Advisory record · GHSA-6rvg-6v2m-4j46

Transformers Regular Expression Denial of Service (ReDoS) vulnerability

CVSS 5.3 MediumEPSS 0.0075 · 55th percentile

Published by the GitHub Advisory Database at 20 Mar 2025, 12:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
transformersPyPI<4.48.04.48.0
Identifiers
GHSA-6rvg-6v2m-4j46 · CVE-2024-12720 · PYSEC-2026-1982
Weakness (CWE)
CWE-1333
Published
20 Mar 2025
Updated
13 Aug 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The transformers package is vulnerable to regular expression denial of service in versions before 4.48.0, in the post-processing function of the Nougat fast tokenizer. An attacker who can supply crafted input to that function can trigger heavy backtracking, causing high CPU use and possible application downtime. Upgrade to transformers 4.48.0 or later. The source gives few other details.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.3 Medium 3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CNA (@huntr_ai)
  • CISA KEV Not listed.
  • EPSS 0.0075, the 55th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:40 UTC First seen by agentprime
  2. 31 Oct 2026, 14:40 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.