{"id":"CVE-2026-23403","published":"2026-04-01T08:36:34Z","modified":"2026-05-11T22:06:14Z","title":"apparmor: fix memory leak in verify_header","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: fix memory leak in verify_header\n\nThe function sets `*ns = NULL` on every call, leaking the namespace\nstring allocated in previous iterations when multiple profiles are\nunpacked. This also breaks namespace consistency checking since *ns\nis always NULL when the comparison is made.\n\nRemove the incorrect assignment.\nThe caller (aa_unpack) initializes *ns to NULL once before the loop,\nwhich is sufficient.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00188,"percentile":0.08479,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/9d678eb0fe55c9195d9a253e8c5b82a87b930737","tags":[]},{"url":"https://git.kernel.org/stable/c/6b79abcb3c985e153fcf9d395e1d4336081aabc2","tags":[]},{"url":"https://git.kernel.org/stable/c/bcf82c0c5a8b383fd2d5d8f3fd880cdcab2ac557","tags":[]},{"url":"https://git.kernel.org/stable/c/663ce34786e759ebcbeb3060685c20bcc886d51a","tags":[]},{"url":"https://git.kernel.org/stable/c/786e2c2a87d9c505f33321d1fd23a176aa8ddeb1","tags":[]},{"url":"https://git.kernel.org/stable/c/4f0889f2df1ab99224a5e1ac4e20437eea5fe38e","tags":[]},{"url":"https://git.kernel.org/stable/c/42fd831abfc15d0643c14688f0522556b347e7e6","tags":[]},{"url":"https://git.kernel.org/stable/c/e38c55d9f834e5b848bfed0f5c586aaf45acb825","tags":[]}],"priority":{"score":1.7,"factors":[{"name":"EPSS percentile","points":1.7}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= dd51c84857630e77c139afe4d9bba65fc051dc3f, < 9d678eb0fe55c9195d9a253e8c5b82a87b930737",">= dd51c84857630e77c139afe4d9bba65fc051dc3f, < 6b79abcb3c985e153fcf9d395e1d4336081aabc2",">= dd51c84857630e77c139afe4d9bba65fc051dc3f, < bcf82c0c5a8b383fd2d5d8f3fd880cdcab2ac557",">= dd51c84857630e77c139afe4d9bba65fc051dc3f, < 663ce34786e759ebcbeb3060685c20bcc886d51a",">= dd51c84857630e77c139afe4d9bba65fc051dc3f, < 786e2c2a87d9c505f33321d1fd23a176aa8ddeb1",">= dd51c84857630e77c139afe4d9bba65fc051dc3f, < 4f0889f2df1ab99224a5e1ac4e20437eea5fe38e",">= dd51c84857630e77c139afe4d9bba65fc051dc3f, < 42fd831abfc15d0643c14688f0522556b347e7e6",">= dd51c84857630e77c139afe4d9bba65fc051dc3f, < e38c55d9f834e5b848bfed0f5c586aaf45acb825"]},{"vendor":"Linux","product":"Linux","versions":["3.12"]}],"euvd":{"id":"EUVD-2026-17831","exploited":false,"provenance":"source"}}