{"id":"CVE-2025-39931","published":"2025-10-04T07:30:55Z","modified":"2026-11-10T12:37:16Z","title":"crypto: af_alg - Set merge to zero early in af_alg_sendmsg","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: af_alg - Set merge to zero early in af_alg_sendmsg\n\nIf an error causes af_alg_sendmsg to abort, ctx->merge may contain\na garbage value from the previous loop.  This may then trigger a\ncrash on the next entry into af_alg_sendmsg when it attempts to do\na merge that can't be done.\n\nFix this by setting ctx->merge to zero near the start of the loop.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00256,"percentile":0.10553,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/28f6f37abca7c5c9eb3959c66310f1d4d98b8aaf","tags":[]},{"url":"https://git.kernel.org/stable/c/db2b42425dfbde4983b0c20fb7cfa05f70e6a745","tags":[]},{"url":"https://git.kernel.org/stable/c/6241b9e2809b12da9130894cf5beddf088dc1b8a","tags":[]},{"url":"https://git.kernel.org/stable/c/2374c11189ef704a3e4863646369f1b8e6a27d71","tags":[]},{"url":"https://git.kernel.org/stable/c/24c1106504c625fabd3b7229611af617b4c27ac7","tags":[]},{"url":"https://git.kernel.org/stable/c/045ee26aa3920a47ec46d7fcb302420bf01fd753","tags":[]},{"url":"https://git.kernel.org/stable/c/9574b2330dbd2b5459b74d3b5e9619d39299fc6f","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[]}],"priority":{"score":7.6,"factors":[{"name":"EPSS percentile","points":2.11},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 28f6f37abca7c5c9eb3959c66310f1d4d98b8aaf",">= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < db2b42425dfbde4983b0c20fb7cfa05f70e6a745",">= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 6241b9e2809b12da9130894cf5beddf088dc1b8a",">= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 2374c11189ef704a3e4863646369f1b8e6a27d71",">= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 24c1106504c625fabd3b7229611af617b4c27ac7",">= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 045ee26aa3920a47ec46d7fcb302420bf01fd753",">= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 9574b2330dbd2b5459b74d3b5e9619d39299fc6f"]},{"vendor":"Linux","product":"Linux","versions":["2.6.38"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:54:45.882341Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-32399","exploited":false,"provenance":"source"}}