{"api_version":"1","generated_at":"2026-04-19T01:14:40+00:00","cve":"CVE-2026-31788","urls":{"html":"https://cve.report/CVE-2026-31788","api":"https://cve.report/api/cve/CVE-2026-31788.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31788","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31788"},"summary":{"title":"xen/privcmd: restrict usage in unprivileged domU","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)","state":"PUBLISHED","assigner":"Linux","published_at":"2026-03-25 11:16:40","updated_at":"2026-04-18 09:16:33"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"8.2","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","baseScore":8.2,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.2","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","data":{"baseScore":8.2,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/3ee5b9e3de4b8bdd74183d83205481c91a9effc8","name":"https://git.kernel.org/stable/c/3ee5b9e3de4b8bdd74183d83205481c91a9effc8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"http://www.openwall.com/lists/oss-security/2026/03/24/4","name":"http://www.openwall.com/lists/oss-security/2026/03/24/4","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/87a803edb2ded911cb587c53bff179d2a2ed2a28","name":"https://git.kernel.org/stable/c/87a803edb2ded911cb587c53bff179d2a2ed2a28","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"http://www.openwall.com/lists/oss-security/2026/03/24/5","name":"http://www.openwall.com/lists/oss-security/2026/03/24/5","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/78432d8f0372c71c518096395537fa12be7ff24e","name":"https://git.kernel.org/stable/c/78432d8f0372c71c518096395537fa12be7ff24e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1879319d790f7d57622cdc22807b60ea78b56b6d","name":"https://git.kernel.org/stable/c/1879319d790f7d57622cdc22807b60ea78b56b6d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"http://www.openwall.com/lists/oss-security/2026/03/24/2","name":"http://www.openwall.com/lists/oss-security/2026/03/24/2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"http://www.openwall.com/lists/oss-security/2026/03/26/4","name":"http://www.openwall.com/lists/oss-security/2026/03/26/4","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"http://www.openwall.com/lists/oss-security/2026/03/24/3","name":"http://www.openwall.com/lists/oss-security/2026/03/24/3","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4eb245ff0d33b618e097a2c23de5df56d4ad6969","name":"https://git.kernel.org/stable/c/4eb245ff0d33b618e097a2c23de5df56d4ad6969","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/453b8fb68f3641fea970db88b7d9a153ed2a37e8","name":"https://git.kernel.org/stable/c/453b8fb68f3641fea970db88b7d9a153ed2a37e8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/389bae9a4409934e8b8d4dbdaaf02a3ae71cf8e4","name":"https://git.kernel.org/stable/c/389bae9a4409934e8b8d4dbdaaf02a3ae71cf8e4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"http://xenbits.xen.org/xsa/advisory-482.html","name":"http://xenbits.xen.org/xsa/advisory-482.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cbede2e833da1893afbea9b3ff29b5dda23a4a91","name":"https://git.kernel.org/stable/c/cbede2e833da1893afbea9b3ff29b5dda23a4a91","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-31788","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31788","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b 4eb245ff0d33b618e097a2c23de5df56d4ad6969 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b 3ee5b9e3de4b8bdd74183d83205481c91a9effc8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b 87a803edb2ded911cb587c53bff179d2a2ed2a28 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b 1879319d790f7d57622cdc22807b60ea78b56b6d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b 78432d8f0372c71c518096395537fa12be7ff24e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b 389bae9a4409934e8b8d4dbdaaf02a3ae71cf8e4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b cbede2e833da1893afbea9b3ff29b5dda23a4a91 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b 453b8fb68f3641fea970db88b7d9a153ed2a37e8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.37","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.37 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.253 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.203 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.167 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.130 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.78 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.20 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.10 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"31788","cve":"CVE-2026-31788","epss":"0.000150000","percentile":"0.027570000","score_date":"2026-04-18","updated_at":"2026-04-19 00:10:43"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2026-03-26T16:26:26.454Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"http://xenbits.xen.org/xsa/advisory-482.html"},{"url":"http://www.openwall.com/lists/oss-security/2026/03/24/2"},{"url":"http://www.openwall.com/lists/oss-security/2026/03/24/3"},{"url":"http://www.openwall.com/lists/oss-security/2026/03/24/4"},{"url":"http://www.openwall.com/lists/oss-security/2026/03/24/5"},{"url":"http://www.openwall.com/lists/oss-security/2026/03/26/4"}],"title":"CVE Program Container"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/xen/privcmd.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"4eb245ff0d33b618e097a2c23de5df56d4ad6969","status":"affected","version":"1c5de1939c204bde9cce87f4eb3d26e9f9eb732b","versionType":"git"},{"lessThan":"3ee5b9e3de4b8bdd74183d83205481c91a9effc8","status":"affected","version":"1c5de1939c204bde9cce87f4eb3d26e9f9eb732b","versionType":"git"},{"lessThan":"87a803edb2ded911cb587c53bff179d2a2ed2a28","status":"affected","version":"1c5de1939c204bde9cce87f4eb3d26e9f9eb732b","versionType":"git"},{"lessThan":"1879319d790f7d57622cdc22807b60ea78b56b6d","status":"affected","version":"1c5de1939c204bde9cce87f4eb3d26e9f9eb732b","versionType":"git"},{"lessThan":"78432d8f0372c71c518096395537fa12be7ff24e","status":"affected","version":"1c5de1939c204bde9cce87f4eb3d26e9f9eb732b","versionType":"git"},{"lessThan":"389bae9a4409934e8b8d4dbdaaf02a3ae71cf8e4","status":"affected","version":"1c5de1939c204bde9cce87f4eb3d26e9f9eb732b","versionType":"git"},{"lessThan":"cbede2e833da1893afbea9b3ff29b5dda23a4a91","status":"affected","version":"1c5de1939c204bde9cce87f4eb3d26e9f9eb732b","versionType":"git"},{"lessThan":"453b8fb68f3641fea970db88b7d9a153ed2a37e8","status":"affected","version":"1c5de1939c204bde9cce87f4eb3d26e9f9eb732b","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/xen/privcmd.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.37"},{"lessThan":"2.6.37","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.253","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.203","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.167","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.130","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.78","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.20","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.10","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.0","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.253","versionStartIncluding":"2.6.37","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.203","versionStartIncluding":"2.6.37","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.167","versionStartIncluding":"2.6.37","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.130","versionStartIncluding":"2.6.37","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.78","versionStartIncluding":"2.6.37","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.20","versionStartIncluding":"2.6.37","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.10","versionStartIncluding":"2.6.37","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0","versionStartIncluding":"2.6.37","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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)"}],"metrics":[{"cvssV3_1":{"baseScore":8.2,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"providerMetadata":{"dateUpdated":"2026-04-18T08:59:47.134Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/4eb245ff0d33b618e097a2c23de5df56d4ad6969"},{"url":"https://git.kernel.org/stable/c/3ee5b9e3de4b8bdd74183d83205481c91a9effc8"},{"url":"https://git.kernel.org/stable/c/87a803edb2ded911cb587c53bff179d2a2ed2a28"},{"url":"https://git.kernel.org/stable/c/1879319d790f7d57622cdc22807b60ea78b56b6d"},{"url":"https://git.kernel.org/stable/c/78432d8f0372c71c518096395537fa12be7ff24e"},{"url":"https://git.kernel.org/stable/c/389bae9a4409934e8b8d4dbdaaf02a3ae71cf8e4"},{"url":"https://git.kernel.org/stable/c/cbede2e833da1893afbea9b3ff29b5dda23a4a91"},{"url":"https://git.kernel.org/stable/c/453b8fb68f3641fea970db88b7d9a153ed2a37e8"}],"title":"xen/privcmd: restrict usage in unprivileged domU","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-31788","datePublished":"2026-03-25T10:25:05.542Z","dateReserved":"2026-03-09T15:48:24.141Z","dateUpdated":"2026-04-18T08:59:47.134Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-03-25 11:16:40","lastModifiedDate":"2026-04-18 09:16:33","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","baseScore":8.2,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.5,"impactScore":6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"31788","Ordinal":"1","Title":"xen/privcmd: restrict usage in unprivileged domU","CVE":"CVE-2026-31788","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"31788","Ordinal":"1","NoteData":"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)","Type":"Description","Title":"xen/privcmd: restrict usage in unprivileged domU"}]}}}