CVE-2026-68287: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-mc29-r954-2m26
CVSS 7.5
CWE-131
Published
Advisory Summary

CVE-2026-68287 is a HIGH (CVSS 7.5) security vulnerability vulnerability (CWE-131: Incorrect Calculation of Buffer Size) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.. Remediation is available in the latest vendor maintenance releases.

CVE-2026-68287 at a Glance

CVE Identifier CVE-2026-68287
GHSA Identifier GHSA-mc29-r954-2m26
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-131: Incorrect Calculation of Buffer Size
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

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:N/S:U/C:N/I:N/A:H).

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

How to Fix CVE-2026-68287

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-68287, 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-131: Incorrect Calculation of Buffer Size, where the product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow. 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: drop_monitor: fix size calculations for 64-bit attributes net_dm_packet_report_fill() and net_dm_hw_packet_report_fill() use nla_put_u64_64bit() to append 64-bit attributes (NET_DM_ATTR_PC and NET_DM_ATTR_TIMESTAMP). On 32-bit architectures without CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS, nla_put_u64_64bit() may append a 4-byte NET_DM_ATTR_PAD attribute for 64-bit alignment. However, net_dm_packet_report_size() and net_dm_hw_packet_report_size() used nla_total_size(sizeof(u64)) instead of nla_total_size_64bit(sizeof(u64)), budgeting 12 bytes instead of up to 16 bytes. This under-estimation of SKB size can lead to an skb_over_panic() when __nla_reserve() or skb_put() is subsequently called. Fix this by using nla_total_size_64bit(sizeof(u64)) in both size calculations.

References

Frequently Asked Questions

What is CVE-2026-68287?
CVE-2026-68287 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-131: Incorrect Calculation of Buffer Size.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2026-68287?
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-68287?
CVE-2026-68287 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2026-68287?
CVE-2026-68287 is classified under CWE-131: Incorrect Calculation of Buffer Size (The product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.).
How can I check Maven dependencies for CVE-2026-68287?
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-mc29-r954-2m26",
  "modified" : "2026-10-03T12:31:02Z",
  "published" : "2026-08-10T15:33:44Z",
  "aliases" : [ "CVE-2026-68287" ],
  "details" : "In the Linux kernel, the following vulnerability has been resolved:\n\ndrop_monitor: fix size calculations for 64-bit attributes\n\nnet_dm_packet_report_fill() and net_dm_hw_packet_report_fill() use\nnla_put_u64_64bit() to append 64-bit attributes (NET_DM_ATTR_PC and\nNET_DM_ATTR_TIMESTAMP).\n\nOn 32-bit architectures without CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS,\nnla_put_u64_64bit() may append a 4-byte NET_DM_ATTR_PAD attribute for\n64-bit alignment.\n\nHowever, net_dm_packet_report_size() and net_dm_hw_packet_report_size()\nused nla_total_size(sizeof(u64)) instead of nla_total_size_64bit(sizeof(u64)),\nbudgeting 12 bytes instead of up to 16 bytes.\n\nThis under-estimation of SKB size can lead to an skb_over_panic() when\n__nla_reserve() or skb_put() is subsequently called.\n\nFix this by using nla_total_size_64bit(sizeof(u64)) in both size calculations.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-68287"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/0da8f531336b28a59b23e5a67d40eaed15906201"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/1275a4769c126405c6c63b6372daff120ac679a6"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/4a9e30764e80693bcf875c776170edce20f94fe0"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/6048ed2dfb33426c8aef32f8d225ea91c66813db"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/7089f7ab99c89f443c92d8fcc585e63f2727f0b3"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/925669d4cfd47a9019ab29b40676215bab5dae35"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-131" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2026-08-10T13:20:18Z"
  }
}