{
  "id": "CVE-2026-31788",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31788",
  "published_at": "2026-03-25T10:25:05.542Z",
  "title": "xen/privcmd: restrict usage in unprivileged domU",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nxen/privcmd: restrict usage in unprivileged domU\n\nThe Xen privcmd driver allows to issue arbitrary hypercalls from\nuser space processes. This is normally no problem, as access is\nusually limited to root and the hypervisor will deny any hypercalls\naffecting other domains.\n\nIn case the guest is booted using secure boot, however, the privcmd\ndriver would be enabling a root user process to modify e.g. kernel\nmemory contents, thus breaking the secure boot feature.\n\nThe only known case where an unprivileged domU is really needing to\nuse the privcmd driver is the case when it is acting as the device\nmodel for another guest. In this case all hypercalls issued via the\nprivcmd driver will target that other guest.\n\nFortunately the privcmd driver can already be locked down to allow\nonly hypercalls targeting a specific domain, but this mode can be\nactivated from user land only today.\n\nThe target domain can be obtained from Xenstore, so when not running\nin dom0 restrict the privcmd driver to that target domain from the\nbeginning, resolving the potential problem of breaking secure boot.\n\nThis is XSA-482\n\n---\nV2:\n- defer reading from Xenstore if Xenstore isn't ready yet (Jan Beulich)\n- wait in open() if target domain isn't known yet\n- issue message in case no target domain found (Jan Beulich)",
  "cwe": "CWE-862",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.37:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.2,
    "nvd": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, \u003c 4eb245ff0d33b618e097a2c23de5df56d4ad6969",
          "\u003e= 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, \u003c 3ee5b9e3de4b8bdd74183d83205481c91a9effc8",
          "\u003e= 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, \u003c 87a803edb2ded911cb587c53bff179d2a2ed2a28",
          "\u003e= 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, \u003c 1879319d790f7d57622cdc22807b60ea78b56b6d",
          "\u003e= 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, \u003c 78432d8f0372c71c518096395537fa12be7ff24e",
          "\u003e= 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, \u003c 389bae9a4409934e8b8d4dbdaaf02a3ae71cf8e4",
          "\u003e= 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, \u003c cbede2e833da1893afbea9b3ff29b5dda23a4a91",
          "\u003e= 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, \u003c 453b8fb68f3641fea970db88b7d9a153ed2a37e8"
        ],
        "fixed_in": [
          "4eb245ff0d33b618e097a2c23de5df56d4ad6969",
          "3ee5b9e3de4b8bdd74183d83205481c91a9effc8",
          "87a803edb2ded911cb587c53bff179d2a2ed2a28",
          "1879319d790f7d57622cdc22807b60ea78b56b6d",
          "78432d8f0372c71c518096395537fa12be7ff24e",
          "389bae9a4409934e8b8d4dbdaaf02a3ae71cf8e4",
          "cbede2e833da1893afbea9b3ff29b5dda23a4a91",
          "453b8fb68f3641fea970db88b7d9a153ed2a37e8"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.37"
        ],
        "fixed_in": [
          "0",
          "5.10.253",
          "5.15.203",
          "6.1.167",
          "6.6.130",
          "6.12.78",
          "6.18.20",
          "6.19.10",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 4eb245ff0d33b618e097a2c23de5df56d4ad6969 or 3ee5b9e3de4b8bdd74183d83205481c91a9effc8 or 87a803edb2ded911cb587c53bff179d2a2ed2a28 or 1879319d790f7d57622cdc22807b60ea78b56b6d or 78432d8f0372c71c518096395537fa12be7ff24e or 389bae9a4409934e8b8d4dbdaaf02a3ae71cf8e4 or cbede2e833da1893afbea9b3ff29b5dda23a4a91 or 453b8fb68f3641fea970db88b7d9a153ed2a37e8 or later.",
      "Upgrade Linux to 0 or 5.10.253 or 5.15.203 or 6.1.167 or 6.6.130 or 6.12.78 or 6.18.20 or 6.19.10 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
