CVE-2026-31709: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-8hp2-qmc6-f97h
CVSS 8.8
CWE-125 CWE-1288
Published
Advisory Summary

CVE-2026-31709 is a HIGH (CVSS 8.8) security vulnerability vulnerability (CWE-125: Out-of-bounds Read) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product reads data past the end, or before the beginning, of the intended buffer.. Remediation is available in the latest vendor maintenance releases.

CVE-2026-31709 at a Glance

CVE Identifier CVE-2026-31709
GHSA Identifier GHSA-8hp2-qmc6-f97h
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-125: Out-of-bounds Read
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-31709

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.

Verify Direct and Transitive Dependencies

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-31709, 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 CWE-125: Out-of-bounds Read, where the product reads data past the end, or before the beginning, of the intended buffer. 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

In the Linux kernel, the following vulnerability has been resolved: smb: client: validate the whole DACL before rewriting it in cifsacl build_sec_desc() and id_mode_to_cifs_acl() derive a DACL pointer from a server-supplied dacloffset and then use the incoming ACL to rebuild the chmod/chown security descriptor. The original fix only checked that the struct smb_acl header fits before reading dacl_ptr->size or dacl_ptr->num_aces. That avoids the immediate header-field OOB read, but the rewrite helpers still walk ACEs based on pdacl->num_aces with no structural validation of the incoming DACL body. A malicious server can return a truncated DACL that still contains a header, claims one or more ACEs, and then drive replace_sids_and_copy_aces() or set_chmod_dacl() past the validated extent while they compare or copy attacker-controlled ACEs. Factor the DACL structural checks into validate_dacl(), extend them to validate each ACE against the DACL bounds, and use the shared validator before the chmod/chown rebuild paths. parse_dacl() reuses the same validator so the read-side parser and write-side rewrite paths agree on what constitutes a well-formed incoming DACL.

References

access.redhat.com/errata/rhsa-2026:22... WEB
https://access.redhat.com/errata/RHSA-2026:22940
access.redhat.com/errata/rhsa-2026:22... WEB
https://access.redhat.com/errata/RHSA-2026:22900
access.redhat.com/errata/rhsa-2026:21... WEB
https://access.redhat.com/errata/RHSA-2026:21745
access.redhat.com/errata/rhsa-2026:21... WEB
https://access.redhat.com/errata/RHSA-2026:21706
access.redhat.com/errata/rhsa-2026:21... WEB
https://access.redhat.com/errata/RHSA-2026:21556
NVD — CVE-2026-31709 NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-31709
Software Security Information SECURITY
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31709.json
git.kernel.org/stable/c/ff0ca46b13... WEB
https://git.kernel.org/stable/c/ff0ca46b13b9ef6edbcd238a3b6caacfef8ba0e5
git.kernel.org/stable/c/d92f3f0b22... WEB
https://git.kernel.org/stable/c/d92f3f0b22414e7515696a02224d0af55e3004a3
git.kernel.org/stable/c/c2abdebf72... WEB
https://git.kernel.org/stable/c/c2abdebf72000a64603ced84d36ccbd164f11391
git.kernel.org/stable/c/b8603d9ae6... WEB
https://git.kernel.org/stable/c/b8603d9ae6c9087662b098619996bc4a8064319d
git.kernel.org/stable/c/b78db9bddc... WEB
https://git.kernel.org/stable/c/b78db9bddc84136f6a0bb49e8883cf200dfb87a8
git.kernel.org/stable/c/8e47d297e7... WEB
https://git.kernel.org/stable/c/8e47d297e7cf9a6029a0d38e7b22faba7d7aaf12
git.kernel.org/stable/c/0a8cf16556... WEB
https://git.kernel.org/stable/c/0a8cf165566ba55a39fd0f4de172119dd646d39a
cert-portal.siemens.com/productcert/html/ss... WEB
https://cert-portal.siemens.com/productcert/html/ssa-784472.html
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2464476
Software Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2026-31709
access.redhat.com/errata/rhsa-2026:24... WEB
https://access.redhat.com/errata/RHSA-2026:24343
access.redhat.com/errata/rhsa-2026:23... WEB
https://access.redhat.com/errata/RHSA-2026:23329
access.redhat.com/errata/rhsa-2026:23... WEB
https://access.redhat.com/errata/RHSA-2026:23237
access.redhat.com/errata/rhsa-2026:23... WEB
https://access.redhat.com/errata/RHSA-2026:23224

Frequently Asked Questions

What is CVE-2026-31709?
CVE-2026-31709 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-125: Out-of-bounds Read.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2026-31709?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What is the CVSS score of CVE-2026-31709?
CVE-2026-31709 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-31709?
CVE-2026-31709 is classified under CWE-125: Out-of-bounds Read (The product reads data past the end, or before the beginning, of the intended buffer.).
How can I check Maven dependencies for CVE-2026-31709?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8hp2-qmc6-f97h",
  "modified" : "2026-10-15T03:35:46Z",
  "published" : "2026-05-01T15:30:33Z",
  "aliases" : [ "CVE-2026-31709" ],
  "details" : "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: validate the whole DACL before rewriting it in cifsacl\n\nbuild_sec_desc() and id_mode_to_cifs_acl() derive a DACL pointer from a\nserver-supplied dacloffset and then use the incoming ACL to rebuild the\nchmod/chown security descriptor.\n\nThe original fix only checked that the struct smb_acl header fits before\nreading dacl_ptr->size or dacl_ptr->num_aces.  That avoids the immediate\nheader-field OOB read, but the rewrite helpers still walk ACEs based on\npdacl->num_aces with no structural validation of the incoming DACL body.\n\nA malicious server can return a truncated DACL that still contains a\nheader, claims one or more ACEs, and then drive\nreplace_sids_and_copy_aces() or set_chmod_dacl() past the validated\nextent while they compare or copy attacker-controlled ACEs.\n\nFactor the DACL structural checks into validate_dacl(), extend them to\nvalidate each ACE against the DACL bounds, and use the shared validator\nbefore the chmod/chown rebuild paths.  parse_dacl() reuses the same\nvalidator so the read-side parser and write-side rewrite paths agree on\nwhat constitutes a well-formed incoming DACL.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-31709"
  }, {
    "type" : "WEB",
    "url" : "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31709.json"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/ff0ca46b13b9ef6edbcd238a3b6caacfef8ba0e5"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/d92f3f0b22414e7515696a02224d0af55e3004a3"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/c2abdebf72000a64603ced84d36ccbd164f11391"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/b8603d9ae6c9087662b098619996bc4a8064319d"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/b78db9bddc84136f6a0bb49e8883cf200dfb87a8"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/8e47d297e7cf9a6029a0d38e7b22faba7d7aaf12"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/0a8cf165566ba55a39fd0f4de172119dd646d39a"
  }, {
    "type" : "WEB",
    "url" : "https://cert-portal.siemens.com/productcert/html/ssa-784472.html"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2464476"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2026-31709"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:24343"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:23329"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:23237"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:23224"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:22940"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:22900"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:21745"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:21706"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:21556"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-125", "CWE-1288" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2026-05-01T14:16:20Z"
  }
}