CVE-2026-98240: Software Security Vulnerability Vulnerability
UNKNOWNCVE-2026-98240 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-2026-98240 at a Glance
How to Fix CVE-2026-98240
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-2026-98240, 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-2026-98240?
Which Software versions are affected?
What version fixes CVE-2026-98240?
What CWE is associated with CVE-2026-98240?
How can I check Maven dependencies for CVE-2026-98240?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2fq7-gw6w-f3qv",
"modified" : "2026-10-06T09:31:32Z",
"published" : "2026-10-06T09:31:32Z",
"aliases" : [ "CVE-2026-98240" ],
"details" : "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ip_tunnel: initialize `options_len` before referencing options\n\nThe following command triggers a kernel panic:\n\n ip link add d0 type dummy; ip link set d0 up\n ip route add 10.30.0.0/16 \\\n encap ip id 300 geneve_opts 4660:66:11223344 dev d0\n\n memcpy: detected buffer overflow: 4 byte write of buffer size 0\n kernel BUG at lib/string_helpers.c:1044!\n ...\n ip_tun_parse_opts.part.0.cold+0x10/0x10\n ip_tun_build_state+0x116/0x2a0\n\nOn kernels built with GCC 15+ and `CONFIG_FORTIFY_SOURCE`, the fortified\n`memcpy()` got 0 sized destination with request of 4 bytes length:\n\n static int ip_tun_parse_opts_geneve(...)\n {\n ...\n attr = tb[LWTUNNEL_IP_OPT_GENEVE_DATA];\n data_len = nla_len(attr); /* == 4 */\n\n struct geneve_opt *opt = ip_tunnel_info_opts(info) + opts_len;\n memcpy(opt->opt_data, nla_data(attr), data_len);\n /* ^^^^^^^^^^^^^ 0 since options_len is assigned afterwards */\n\nFixed by initializing the counter before the options are referenced.\nMatching what `tunnel_key_opts_set()` already does.",
"severity" : [ ],
"affected" : [ ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-98240"
}, {
"type" : "WEB",
"url" : "https://git.kernel.org/stable/c/0f6a6beb01c068fcd5274eabf22c260039749fea"
}, {
"type" : "WEB",
"url" : "https://git.kernel.org/stable/c/455ebeadf714f51e1dbbd6a022c74c9215b1cd76"
}, {
"type" : "WEB",
"url" : "https://git.kernel.org/stable/c/9907325257b4b382f26aafd5d9a8d47915907dd5"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : null,
"github_reviewed" : false,
"github_reviewed_at" : null,
"nvd_published_at" : "2026-10-06T09:18:11Z"
}
}