# Buffer overflow in drivers/xen/sys-hypervisor.c

CVE record · `CVE-2026-31786`

- **Identifiers:** `CVE-2026-31786`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-120](https://cwe.mitre.org/data/definitions/120.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 30 Apr 2026
- **Updated:** 19 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 30 Apr 2026, 10:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `84b7625728ea311ea35bdaa0eded53c1c56baeaa to before e3af585e1728c917682b6a3de9a69b41fb9194d4` (git)
  - affected: `84b7625728ea311ea35bdaa0eded53c1c56baeaa to before 8288d031a01dbacfde3fc643f7be3d23504de64d` (git)
  - affected: `84b7625728ea311ea35bdaa0eded53c1c56baeaa to before f458ba102da97fafca106327086fc95f3fc764cb` (git)
  - affected: `84b7625728ea311ea35bdaa0eded53c1c56baeaa to before 4b4defd2fce3f966c25adabf46644a85558f1169` (git)
  - affected: `84b7625728ea311ea35bdaa0eded53c1c56baeaa to before 5c5ff7c7bd15bb536f44b10b3fb5b8408f344d0a` (git)
  - affected: `84b7625728ea311ea35bdaa0eded53c1c56baeaa to before d5f59216650c51e5e3fcb7517c825bc8047f60ef` (git)
  - affected: `84b7625728ea311ea35bdaa0eded53c1c56baeaa to before 52cecff98bda2c51eed1c6ce9d21c5d6268fb19d` (git)
  - affected: `84b7625728ea311ea35bdaa0eded53c1c56baeaa to before 27fdbab4221b375de54bf91919798d88520c6e28` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.13`
  - unaffected: `before 4.13` (semver)
  - unaffected: `5.10.254 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.204 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.170 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.137 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.85 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.26 to 6.18.*, inclusive` (semver)
  - unaffected: `7.0.3 to 7.0.*, inclusive` (semver)
  - unaffected: `7.1 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0020, the 9th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 30 Apr 2026, 11:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-31786)

## Sources

- [CVE List: CVE-2026-31786](https://www.cve.org/CVERecord?id=CVE-2026-31786)
- [NVD: CVE-2026-31786](https://nvd.nist.gov/vuln/detail/CVE-2026-31786)

### References from the CNA

- <https://git.kernel.org/stable/c/e3af585e1728c917682b6a3de9a69b41fb9194d4>
- <https://git.kernel.org/stable/c/8288d031a01dbacfde3fc643f7be3d23504de64d>
- <https://git.kernel.org/stable/c/f458ba102da97fafca106327086fc95f3fc764cb>
- <https://git.kernel.org/stable/c/4b4defd2fce3f966c25adabf46644a85558f1169>
- <https://git.kernel.org/stable/c/5c5ff7c7bd15bb536f44b10b3fb5b8408f344d0a>
- <https://git.kernel.org/stable/c/d5f59216650c51e5e3fcb7517c825bc8047f60ef>
- <https://git.kernel.org/stable/c/52cecff98bda2c51eed1c6ce9d21c5d6268fb19d>
- <https://git.kernel.org/stable/c/27fdbab4221b375de54bf91919798d88520c6e28>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-31786>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-31786/>. Everything for agents: <https://agentprime.io/llms.txt>.
