CVE-2026-31249: FunAudioLLM CosyVoice insecure deserialization in make_parquet_list.py

CVE-2026-31249 · Severity: high · CVSS 7.3 · Published 2026-05-11

CosyVoice is a voice generation model used for creating and processing speech data. A security flaw in its data processing tool allows an attacker to execute malicious code on a user's computer if the user is tricked into processing a specially crafted data file. This could lead to a full system compromise, unauthorized data access, or the installation of malware.

Technologies: FunAudioLLM CosyVoice. Vendors: FunAudioLLM.

Quick answers

Is CVE-2026-31249 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-31249 being exploited in the wild.
How severe is CVE-2026-31249?
High severity, with a CVSS score of 7.3, published 11 May 2026.
Which products and versions are affected?
FunAudioLLM CosyVoice up to commit 6e01309e01bc93bbeb83bdd996b1182a81aaf11e.
Is there a fix for CVE-2026-31249?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-31249 attacked?
It is attacked with local access, in a software library.
Am I affected by CVE-2026-31249?
Check whether you run FunAudioLLM CosyVoice at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

An insecure deserialization vulnerability (CWE-502) exists in the 'make_parquet_list.py' tool within CosyVoice. The vulnerability stems from the use of 'torch.load()' to process PyTorch (.pt) files—such as utterance and speaker embeddings—without the 'weights_only=True' parameter enabled. Because 'torch.load' uses the Python pickle module by default, it can be coerced into deserializing arbitrary Python objects. An attacker can exploit this by providing a malicious .pt file in a data directory; when a victim runs the processing script on that directory, the attacker's code is executed with the privileges of the user running the script.

Affected products

  • FunAudioLLM CosyVoice up to commit 6e01309e01bc93bbeb83bdd996b1182a81aaf11e

Timeline

  • 2026-05-11: advisory: CVE-2026-31249 published by NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.