CVE-2025-5148 FunAudioLLM InspireMusic Pickle Data model.py load_state_dict deserialization
Local attackers can execute arbitrary code via unsafe pickle deserialization in the model loading function of FunAudioLLM InspireMusic.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-5148?
CVE-2025-5148 is a medium-severity unsafe deserialization vulnerability in FunAudioLLM InspireMusic, published on 25 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability was found in FunAudioLLM InspireMusic up to bf32364bcb0d136497ca69f9db622e9216b029dd. It has been classified as critical. Affected is the function load_state_dict of the file inspiremusic/cli/model.py of the component Pickle Data Handler. The manipulation leads to deserialization. An attack has to be approached locally. This product is using a rolling release to provide continious delivery. Therefore, no version details for affected nor updated releases are available. The name of the patch is 784cbf8dde2cf1456ff808aeba23177e1810e7a9. It is recommended to apply a patch to fix this issue.
Which versions are affected by CVE-2025-5148?
3 open source packages ship an affected version, including inspiremusic.
| Package | Affected | Fixed in |
|---|---|---|
inspiremusic PyPI | All versions to 0.0.1.dev0 | None |
inspiremusic PyPI | All versions to 0.0.1.dev0 | None |
inspiremusic PyPI | All versions to 0.0.1.dev0 | None |
How do I fix CVE-2025-5148?
No fix has been published for CVE-2025-5148 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2025-5148 being exploited?
There is no known exploitation of CVE-2025-5148 in the wild and no public exploit code.
Sources
Also known as GHSA-pgp9-g5q8-j3wp, PYSEC-2026-1464.