CVE-2025-40097: Software Security Vulnerability Vulnerability
UNKNOWNCVE-2025-40097 is a security vulnerability vulnerability (General Security Weakness) affecting Software libraries in the Maven ecosystem. Remediation is available in the latest vendor maintenance releases.
CVE-2025-40097 at a Glance
How to Fix CVE-2025-40097
To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-40097, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree
Analyze the terminal output to locate any version of Software 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 mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Software, 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
References
Frequently Asked Questions
What is CVE-2025-40097?
Which Software versions are affected?
What version fixes CVE-2025-40097?
What CWE is associated with CVE-2025-40097?
How can I check Maven dependencies for CVE-2025-40097?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9cqx-9fcv-mjx8",
"modified" : "2026-10-03T12:31:01Z",
"published" : "2025-10-30T12:31:10Z",
"aliases" : [ "CVE-2025-40097" ],
"details" : "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda: Fix missing pointer check in hda_component_manager_init function\n\nThe __component_match_add function may assign the 'matchptr' pointer\nthe value ERR_PTR(-ENOMEM), which will subsequently be dereferenced.\n\nThe call stack leading to the error looks like this:\n\nhda_component_manager_init\n|-> component_match_add\n |-> component_match_add_release\n |-> __component_match_add ( ... ,**matchptr, ... )\n |-> *matchptr = ERR_PTR(-ENOMEM); // assign\n|-> component_master_add_with_match( ... match)\n |-> component_match_realloc(match, match->num); // dereference\n\nAdd IS_ERR() check to prevent the crash.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.",
"severity" : [ ],
"affected" : [ ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-40097"
}, {
"type" : "WEB",
"url" : "https://git.kernel.org/stable/c/1c3f4b15eb1850558d7d4da74b98cffbb8121721"
}, {
"type" : "WEB",
"url" : "https://git.kernel.org/stable/c/1cf11d80db5df805b538c942269e05a65bcaf5bc"
}, {
"type" : "WEB",
"url" : "https://git.kernel.org/stable/c/218a8504e62fc2c8a1fd12523346b7a2b9bd2474"
}, {
"type" : "WEB",
"url" : "https://git.kernel.org/stable/c/47d1b9ca923b55c3f407788f1f15b04957e0e027"
}, {
"type" : "WEB",
"url" : "https://git.kernel.org/stable/c/b044aa6ae63391ba40c93ca5d476d276cb17db1b"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : null,
"github_reviewed" : false,
"github_reviewed_at" : null,
"nvd_published_at" : "2025-10-30T10:15:34Z"
}
}