CVE-2026-45852: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-m5rc-6p5x-73gp
CVSS 7.8
CWE-415 CWE-1341
Published
Advisory Summary

CVE-2026-45852 is a HIGH (CVSS 7.8) security vulnerability vulnerability (CWE-415: Double Free) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product calls free() twice on the same memory address.. Remediation is available in the latest vendor maintenance releases.

CVE-2026-45852 at a Glance

CVE Identifier CVE-2026-45852
GHSA Identifier GHSA-m5rc-6p5x-73gp
Severity HIGH
CVSS v3.1 Base Score 7.8
CWE Classification CWE-415: Double Free
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.8

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

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

How to Fix CVE-2026-45852

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-45852, 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-415: Double Free, where the product calls free() twice on the same memory address. 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: RDMA/rxe: Fix double free in rxe_srq_from_init In rxe_srq_from_init(), the queue pointer 'q' is assigned to 'srq->rq.queue' before copying the SRQ number to user space. If copy_to_user() fails, the function calls rxe_queue_cleanup() to free the queue, but leaves the now-invalid pointer in 'srq->rq.queue'. The caller of rxe_srq_from_init() (rxe_create_srq) eventually calls rxe_srq_cleanup() upon receiving the error, which triggers a second rxe_queue_cleanup() on the same memory, leading to a double free. The call trace looks like this: kmem_cache_free+0x.../0x... rxe_queue_cleanup+0x1a/0x30 [rdma_rxe] rxe_srq_cleanup+0x42/0x60 [rdma_rxe] rxe_elem_release+0x31/0x70 [rdma_rxe] rxe_create_srq+0x12b/0x1a0 [rdma_rxe] ib_create_srq_user+0x9a/0x150 [ib_core] Fix this by moving 'srq->rq.queue = q' after copy_to_user.

References

NVD — CVE-2026-45852 NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-45852
Software Security Information SECURITY
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45852.json
git.kernel.org/stable/c/d493e0bfc7... WEB
https://git.kernel.org/stable/c/d493e0bfc748a520c349d6c8791b262aa5ad2e4e
git.kernel.org/stable/c/d286f0d4e3... WEB
https://git.kernel.org/stable/c/d286f0d4e3ad3caf5f0e673cdad7bf89bf37d947
git.kernel.org/stable/c/ce6f8e0076... WEB
https://git.kernel.org/stable/c/ce6f8e007682f378279d4cf83b240f12d52c723b
git.kernel.org/stable/c/b98ab5494d... WEB
https://git.kernel.org/stable/c/b98ab5494dbd48652561aa0b9c32f10500220745
git.kernel.org/stable/c/af59562430... WEB
https://git.kernel.org/stable/c/af5956243018918130d52c9f671efdb40bab3366
git.kernel.org/stable/c/9abff51163... WEB
https://git.kernel.org/stable/c/9abff51163aa1bc275ec356f74fe976291860a7f
git.kernel.org/stable/c/5c07aef09a... WEB
https://git.kernel.org/stable/c/5c07aef09a121a4cd622a71eb0753a9e135c84a8
git.kernel.org/stable/c/26a9cfe12f... WEB
https://git.kernel.org/stable/c/26a9cfe12f4ffdeaa136f252478986fa5f397ddc
git.kernel.org/stable/c/26793db609... WEB
https://git.kernel.org/stable/c/26793db60925df1e88a29466813d586cbc190b8c
git.kernel.org/stable/c/22b8c23a3b... WEB
https://git.kernel.org/stable/c/22b8c23a3b92d023614bb00896fe364b2c1a31d3
git.kernel.org/stable/c/0beefd0e15... WEB
https://git.kernel.org/stable/c/0beefd0e15d962f497aad750b2d5e9c3570b66d1
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2482166
Software Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2026-45852
access.redhat.com/errata/rhsa-2026:41... WEB
https://access.redhat.com/errata/RHSA-2026:41236
access.redhat.com/errata/rhsa-2026:35... WEB
https://access.redhat.com/errata/RHSA-2026:35896
access.redhat.com/errata/rhsa-2026:35... WEB
https://access.redhat.com/errata/RHSA-2026:35863
access.redhat.com/errata/rhsa-2026:35... WEB
https://access.redhat.com/errata/RHSA-2026:35844
access.redhat.com/errata/rhsa-2026:34... WEB
https://access.redhat.com/errata/RHSA-2026:34094
access.redhat.com/errata/rhsa-2026:33... WEB
https://access.redhat.com/errata/RHSA-2026:33899
access.redhat.com/errata/rhsa-2026:27... WEB
https://access.redhat.com/errata/RHSA-2026:27713
access.redhat.com/errata/rhsa-2026:25... WEB
https://access.redhat.com/errata/RHSA-2026:25217
access.redhat.com/errata/rhsa-2026:25... WEB
https://access.redhat.com/errata/RHSA-2026:25121
access.redhat.com/errata/rhsa-2026:25... WEB
https://access.redhat.com/errata/RHSA-2026:25120

Frequently Asked Questions

What is CVE-2026-45852?
CVE-2026-45852 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-415: Double Free.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2026-45852?
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-45852?
CVE-2026-45852 has a CVSS v3.1 base score of 7.8 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-45852?
CVE-2026-45852 is classified under CWE-415: Double Free (The product calls free() twice on the same memory address.).
How can I check Maven dependencies for CVE-2026-45852?
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-m5rc-6p5x-73gp",
  "modified" : "2026-07-20T12:32:59Z",
  "published" : "2026-05-27T15:33:13Z",
  "aliases" : [ "CVE-2026-45852" ],
  "details" : "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Fix double free in rxe_srq_from_init\n\nIn rxe_srq_from_init(), the queue pointer 'q' is assigned to\n'srq->rq.queue' before copying the SRQ number to user space.\nIf copy_to_user() fails, the function calls rxe_queue_cleanup()\nto free the queue, but leaves the now-invalid pointer in\n'srq->rq.queue'.\n\nThe caller of rxe_srq_from_init() (rxe_create_srq) eventually\ncalls rxe_srq_cleanup() upon receiving the error, which triggers\na second rxe_queue_cleanup() on the same memory, leading to a\ndouble free.\n\nThe call trace looks like this:\n   kmem_cache_free+0x.../0x...\n   rxe_queue_cleanup+0x1a/0x30 [rdma_rxe]\n   rxe_srq_cleanup+0x42/0x60 [rdma_rxe]\n   rxe_elem_release+0x31/0x70 [rdma_rxe]\n   rxe_create_srq+0x12b/0x1a0 [rdma_rxe]\n   ib_create_srq_user+0x9a/0x150 [ib_core]\n\nFix this by moving 'srq->rq.queue = q' after copy_to_user.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-45852"
  }, {
    "type" : "WEB",
    "url" : "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45852.json"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/d493e0bfc748a520c349d6c8791b262aa5ad2e4e"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/d286f0d4e3ad3caf5f0e673cdad7bf89bf37d947"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/ce6f8e007682f378279d4cf83b240f12d52c723b"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/b98ab5494dbd48652561aa0b9c32f10500220745"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/af5956243018918130d52c9f671efdb40bab3366"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/9abff51163aa1bc275ec356f74fe976291860a7f"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/5c07aef09a121a4cd622a71eb0753a9e135c84a8"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/26a9cfe12f4ffdeaa136f252478986fa5f397ddc"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/26793db60925df1e88a29466813d586cbc190b8c"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/22b8c23a3b92d023614bb00896fe364b2c1a31d3"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/0beefd0e15d962f497aad750b2d5e9c3570b66d1"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2482166"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2026-45852"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:41236"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:35896"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:35863"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:35844"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:34094"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:33899"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:27713"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:25217"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:25121"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:25120"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1341", "CWE-415" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2026-05-27T14:16:57Z"
  }
}