CVE-2025-5197

Severity: Moderate
Published: 2025-08-06

Fix Status by Distribution

Fixed in 0 of 27 tracked Linux releases

Fix evidence last checked: 2026-10-15 12:22 UTC

Get alerted when your releases are fixed
No fix evidence found:
AlmaLinux 10
AlmaLinux 8
AlmaLinux 9
Debian 11 (Bullseye)
Debian 12 (Bookworm)
Debian 13 (Trixie)
Oracle Linux 10
Oracle Linux 8
Oracle Linux 9
Red Hat Enterprise Linux 10
Red Hat Enterprise Linux 7 (Extended Lifecycle Support)
Red Hat Enterprise Linux 8
Red Hat Enterprise Linux 9
Rocky Linux 10
Rocky Linux 8
Rocky Linux 9
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP7
SUSE Linux Enterprise Server 16
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 24.04 LTS (Noble Numbat)
Ubuntu 25.04 (Plucky Puffin)
Ubuntu 25.10 (Questing Quokka)
Ubuntu 26.04 LTS (Resolute Raccoon)
Ubuntu 26.10 (Stonking Stingray)
Interested in being alerted when these distributions have fixes? Set up an alert.

A flaw was found in transformers. The `convert_tf_weight_name_to_pt_weight_name()` function contains a Regular Expression Denial of Service (ReDoS) vulnerability, where a maliciously crafted input string can cause excessive backtracking during regular expression matching. This flaw allows a network-based attacker to trigger this condition by providing a specially designed string as input. This results in a denial of service due to resource exhaustion.

Exploit evidence

Public proof of concept reported

Last checked: 2026-07-31 19:12 UTC

  • Proof of concept · CISA Coordinator (Assessed 2025-08-06 13:02 UTC)

  • Exploit reference · 134c704f-9b21-4f2e-91b3-4a467353bcc0 · View external evidence (Observed 2026-07-31 19:12 UTC)

NVD evidence for CVE-2025-5197 is reported, not independently verified by Package Alert. It does not establish exploit reliability or applicability to a particular package or environment.