{"id":"CVE-2026-23403","aliases":["CVE-2026-23403"],"related":[],"kind":"vulnerability","state":"published","title":"apparmor: fix memory leak in verify_header","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-04-01T08:36:34.269Z","modified":"2026-06-17T10:21:30.840Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"dd51c84857630e77c139afe4d9bba65fc051dc3f","fixed":"9d678eb0fe55c9195d9a253e8c5b82a87b930737","status":"affected"},{"type":"git","introduced":"dd51c84857630e77c139afe4d9bba65fc051dc3f","fixed":"6b79abcb3c985e153fcf9d395e1d4336081aabc2","status":"affected"},{"type":"git","introduced":"dd51c84857630e77c139afe4d9bba65fc051dc3f","fixed":"bcf82c0c5a8b383fd2d5d8f3fd880cdcab2ac557","status":"affected"},{"type":"git","introduced":"dd51c84857630e77c139afe4d9bba65fc051dc3f","fixed":"663ce34786e759ebcbeb3060685c20bcc886d51a","status":"affected"},{"type":"git","introduced":"dd51c84857630e77c139afe4d9bba65fc051dc3f","fixed":"786e2c2a87d9c505f33321d1fd23a176aa8ddeb1","status":"affected"},{"type":"git","introduced":"dd51c84857630e77c139afe4d9bba65fc051dc3f","fixed":"4f0889f2df1ab99224a5e1ac4e20437eea5fe38e","status":"affected"},{"type":"git","introduced":"dd51c84857630e77c139afe4d9bba65fc051dc3f","fixed":"42fd831abfc15d0643c14688f0522556b347e7e6","status":"affected"},{"type":"git","introduced":"dd51c84857630e77c139afe4d9bba65fc051dc3f","fixed":"e38c55d9f834e5b848bfed0f5c586aaf45acb825","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.12","status":"unaffected"},{"type":"semver","introduced":"5.10.253","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.203","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.169","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.130","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.77","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.18","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.8","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.12.1","fixed":"5.10.253"},{"status":"affected","introduced":"5.11","fixed":"5.15.203"},{"status":"affected","introduced":"5.16","fixed":"6.1.169"},{"status":"affected","introduced":"6.2","fixed":"6.6.130"},{"status":"affected","introduced":"6.7","fixed":"6.12.77"},{"status":"affected","introduced":"6.13","fixed":"6.18.18"},{"status":"affected","introduced":"6.19","fixed":"6.19.8"},{"status":"affected","version":"3.12"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/9d678eb0fe55c9195d9a253e8c5b82a87b930737","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6b79abcb3c985e153fcf9d395e1d4336081aabc2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bcf82c0c5a8b383fd2d5d8f3fd880cdcab2ac557","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/663ce34786e759ebcbeb3060685c20bcc886d51a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/786e2c2a87d9c505f33321d1fd23a176aa8ddeb1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4f0889f2df1ab99224a5e1ac4e20437eea5fe38e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/42fd831abfc15d0643c14688f0522556b347e7e6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e38c55d9f834e5b848bfed0f5c586aaf45acb825","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23403","url":"https://www.cve.org/CVERecord?id=CVE-2026-23403","licence":"CVE Terms of Use","modified":"2026-05-11T22:06:14.098Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23403","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23403","licence":"Public domain","modified":"2026-06-17T10:21:30.840Z"}],"updatedAt":"2026-11-25T22:59:17.677Z","epss":{"score":0.00201,"percentile":0.10523,"date":"2026-12-02T12:00:21.000Z"}}