{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-45870","published":"2026-05-27T14:17:00.420000Z","last_modified":"2026-11-06T16:18:48.223000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-401"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"3.10","version_end_excluding":"5.10.252"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.202"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"6.1.165"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.2","version_end_excluding":"6.6.128"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.7","version_end_excluding":"6.12.75"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.18.14"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.19","version_end_excluding":"6.19.4"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2026-45870/","html_en":"/en/cve/CVE-2026-45870/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-45870","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-45870"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: auth_gss: fix memory leaks in XDR decoding error paths\n\nThe gssx_dec_ctx(), gssx_dec_status(), and gssx_dec_name()\nfunctions allocate memory via gssx_dec_buffer(), which calls\nkmemdup(). When a subsequent decode operation fails, these\nfunctions return immediately without freeing previously\nallocated buffers, causing memory leaks.\n\nThe leak in gssx_dec_ctx() is particularly relevant because\nthe caller (gssp_accept_sec_context_upcall) initializes several\nbuffer length fields to non-zero values, resulting in memory\nallocation:\n\n    struct gssx_ctx rctxh = {\n        .exported_context_token.len = GSSX_max_output_handle_sz,\n        .mech.len = GSS_OID_MAX_LEN,\n        .src_name.display_name.len = GSSX_max_princ_sz,\n        .targ_name.display_name.len = GSSX_max_princ_sz\n    };\n\nIf, for example, gssx_dec_name() succeeds for src_name but\nfails for targ_name, the memory allocated for\nexported_context_token, mech, and src_name.display_name\nremains unreferenced and cannot be reclaimed.\n\nAdd error handling with goto-based cleanup to free any\npreviously allocated buffers before returning an error.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/3b56eb90feb8a3709417f5624f3871847d42bcb1","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/3e6397b056335cc56ef0e9da36c95946a19f5118","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/64303b92d94c0c7845a273acd8d84b796d6f1db7","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b4af3806846778799cd4ab0766dc18341e777264","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c81431b1b9fbd21e9a5a9211b5517b7295d18e6a","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/caf7eff432e91a9eba1c79fa545c2f54be15d62b","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/d79b9097a6a2b91471b40755f1225364be5d85ff","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/df10f23defff22c8d55fe6db74f6e4ce927145bf","tags":["Patch"]}]},"bulletins":[{"source":"suse","id":"SUSE-SU-2026:22742-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202622742-1/","published":"2026-07-21T08:27:34+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:22769-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202622769-1/","published":"2026-07-21T08:27:34+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:22835-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202622835-1/","published":"2026-07-21T08:27:34+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}}]}