csirt@kutim:~/threat-intel/cve/CVE-2025-5197

Katalog CVE

CVSS 5.3 · Medium EPSS 0,40%

Kerentanan Inefficient Regular Expression Complexity pada huggingface transformers. Skor CVSS 3.0 5.3 (Medium) menurut huntr.dev.

Deskripsi (NVD)

A Regular Expression Denial of Service (ReDoS) vulnerability exists in the Hugging Face Transformers library, specifically in the `convert_tf_weight_name_to_pt_weight_name()` function. This function, responsible for converting TensorFlow weight names to PyTorch format, uses a regex pattern `/[^/]*___([^/]*)/` that can be exploited to cause excessive CPU consumption through crafted input strings due to catastrophic backtracking. The vulnerability affects versions up to 4.51.3 and is fixed in version 4.53.0. This issue can lead to service disruption, resource exhaustion, and potential API service vulnerabilities, impacting model conversion processes between TensorFlow and PyTorch formats.

Rincian

Terbit di NVD
6 Agustus 2025
Terakhir diubah
17 Juni 2026
Status NVD
Analyzed
CVSS 3.0
5.3 (Medium), sumber huntr.dev
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L · uraikan di kalkulator
Jenis kelemahan (CWE)
CWE-1333: Inefficient Regular Expression Complexity
EPSS (30 hari)
0,40% peluang dieksploitasi; lebih tinggi dari 31,8% CVE lain

Produk dan versi terdampak

VendorProdukVersi terdampak
huggingface transformers Semua versi sebelum 4.53.0

> Data dari konfigurasi CPE di NVD.

Referensi dan perbaikan

Sumber: NVD · CVE.org · EPSS. Halaman ini disusun otomatis dari data tersebut; pembaruan terakhir 5 Okt 2026, 20:11 WITA. Kalau sistem di Perangkat Daerah memakai produk ini dan butuh bantuan, laporkan lewat kanal pelaporan.