CVE-2025-5148: Inspiremusic FunAudioLLM InspireMusic Deserialization Vulnerability Vulnerability
MODERATECVE-2025-5148 is a MODERATE (CVSS 5.3) funaudiollm inspiremusic deserialization vulnerability vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Inspiremusic libraries in the PyPI ecosystem. The issue involves funaudiollm inspiremusic deserialization vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2025-5148 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2025-5148
To remediate this vulnerability, upgrade all affected Inspiremusic dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install inspiremusic>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show inspiremusic
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-5148, inspect your installed packages using pip:
pip show inspiremusic
Analyze the terminal output to locate any version of Inspiremusic in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show inspiremusic command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Inspiremusic, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-5148 Affected Inspiremusic Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
inspiremusic
|
PyPI |
≤ 0.0.1.dev0
|
|
References
Frequently Asked Questions
What is CVE-2025-5148?
Which Inspiremusic versions are affected?
What version fixes CVE-2025-5148?
Is inspiremusic affected?
What is the CVSS score of CVE-2025-5148?
What CWE is associated with CVE-2025-5148?
How can I check PyPI dependencies for CVE-2025-5148?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pgp9-g5q8-j3wp",
"modified" : "2025-05-27T19:48:29Z",
"published" : "2025-05-25T12:30:24Z",
"aliases" : [ "CVE-2025-5148" ],
"summary" : "FunAudioLLM InspireMusic deserialization vulnerability",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "inspiremusic"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.0.1.dev0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-5148"
}, {
"type" : "WEB",
"url" : "https://github.com/FunAudioLLM/InspireMusic/issues/53"
}, {
"type" : "WEB",
"url" : "https://github.com/FunAudioLLM/InspireMusic/issues/53#issuecomment-2866688220"
}, {
"type" : "WEB",
"url" : "https://github.com/FunAudioLLM/InspireMusic/commit/784cbf8dde2cf1456ff808aeba23177e1810e7a9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/FunAudioLLM/InspireMusic"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.310236"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.310236"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?submit.573800"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-502" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-27T19:48:29Z",
"nvd_published_at" : "2025-05-25T12:15:20Z"
}
}