CVE-2026-98125: Software Security Vulnerability Vulnerability
UNKNOWNCVE-2026-98125 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-98125 at a Glance
How to Fix CVE-2026-98125
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-98125, 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-98125?
Which Software versions are affected?
What version fixes CVE-2026-98125?
What CWE is associated with CVE-2026-98125?
How can I check Maven dependencies for CVE-2026-98125?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mgrf-j38j-q2mg",
"modified" : "2026-09-25T12:31:37Z",
"published" : "2026-09-25T12:31:37Z",
"aliases" : [ "CVE-2026-98125" ],
"details" : "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb/client: fix stale page cache in insert/collapse range\n\nsmb3_insert_range() and smb3_collapse_range() use\ntruncate_pagecache_range() to invalidate the affected page cache.\nHowever, if off or old_eof is not page-aligned, the boundary pages are\nonly partially zeroed and remain uptodate. As a result, the client may\nreturn stale data after a successful insert/collapse range operation.\n\nFor example, with 4K pages:\n\n page 0 page 1 page 2\n 0------4K 4K------8K 8K------12K\n ^ ^\n off=2K old_eof=10K\n\nPage 1 is removed from the page cache, while the boundary pages are\nonly partially zeroed. After COPYCHUNK moves the data on the server,\nthese cached pages may still return stale data.\n\nThis can be reproduced on a CIFS mount:\n\n bash -c '\n FILE=/mnt/scratch/repro\n\n # Use a 6 KiB file so EOF is not page-aligned.\n dd if=/dev/urandom of=/tmp/src bs=1K count=6 status=none\n\n # Expected: a 4 KiB hole followed by the original data.\n rm -f /tmp/expected\n truncate -s 4K /tmp/expected\n cat /tmp/src >> /tmp/expected\n\n cp /tmp/src \"$FILE\"\n\n # Prime the page cache before moving data on the server.\n cat \"$FILE\" > /dev/null\n\n fallocate --insert-range -o 0 -l 4K \"$FILE\"\n\n if cmp -s /tmp/expected \"$FILE\"; then\n echo \"readback: OK\"\n else\n echo \"readback: STALE DATA\"\n fi\n '\n\nFix this by writing back dirty data and discarding the page cache from\nthe start of the page containing off to EOF before moving data on the\nserver.",
"severity" : [ ],
"affected" : [ ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-98125"
}, {
"type" : "WEB",
"url" : "https://git.kernel.org/stable/c/01261a6fa48b62f5ead8e88aaca1e27cb9ab9032"
}, {
"type" : "WEB",
"url" : "https://git.kernel.org/stable/c/76222e76d08fbae4092ee9da84ded2b4c24ee598"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : null,
"github_reviewed" : false,
"github_reviewed_at" : null,
"nvd_published_at" : "2026-09-25T11:17:43Z"
}
}