{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "6f442d42c0d89876994a4a135eadf82b0e6ff6e4"
            },
            {
              "fixed": "b816ebeb649ce7fc36921fab226dd58bb12b520d"
            },
            {
              "fixed": "1ef71b9b07010096a410dbab7953a0104d5c450b"
            },
            {
              "fixed": "e5b1fefc2dcd8951874be43f409c8a61f574f6d9"
            },
            {
              "fixed": "92ab39831d6931bdd1a669c513baafdb9cf1c22d"
            },
            {
              "fixed": "afe5d5a747393cb3d00795db31d7fce5108a766a"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "346b1ac789fa8e666d1b564d9b9fa8880644faa0"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.4.4"
            },
            {
              "fixed": "6.5"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.5.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.118"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99836.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: check accept index + 1 is in bounds\n\naa_lookup_condperms() returns perms[index + 1] when an accept entry has\nACCEPT_FLAG_OWNER set and the subject uid does not match the file uid,\nso such an entry consumes two slots in the perms table.  But\nverify_dfa_accept_index() only checks that index is within the perms\ntable, so a policy that sets the owner flag on the last entry is\naccepted, and the runtime lookup then reads perms[index + 1] one entry\npast the end of the table.\n\nThe perms table is allocated by unpack_perms_table() with a u16 size\nread from the policy blob, so a crafted policy can place the owner flag\nat index size - 1 to reach the out-of-bounds read.\n\nCheck that index + 1 is also in bounds when the owner flag is set.",
  "id": "CVE-2026-99836",
  "modified": "2026-11-30T14:45:17.123646181Z",
  "published": "2026-11-30T13:17:30.319Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1ef71b9b07010096a410dbab7953a0104d5c450b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/92ab39831d6931bdd1a669c513baafdb9cf1c22d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/afe5d5a747393cb3d00795db31d7fce5108a766a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b816ebeb649ce7fc36921fab226dd58bb12b520d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e5b1fefc2dcd8951874be43f409c8a61f574f6d9"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99836.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99836"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "apparmor: check accept index + 1 is in bounds"
}