Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-31786

published high CVSS 3.1 · 7.8

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

Published
30 Apr 2026, 10:31:28 UTC
Updated
19 Oct 2026, 19:06:08 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux84b7625728ea311ea35bdaa0eded53c1c56baeaa to < e3af585e1728c917682b6a3de9a69b41fb9194d4 · 84b7625728ea311ea35bdaa0eded53c1c56baeaa to < 8288d031a01dbacfde3fc643f7be3d23504de64d · 84b7625728ea311ea35bdaa0eded53c1c56baeaa to < f458ba102da97fafca106327086fc95f3fc764cb · 84b7625728ea311ea35bdaa0eded53c1c56baeaa to < 4b4defd2fce3f966c25adabf46644a85558f1169 · 84b7625728ea311ea35bdaa0eded53c1c56baeaa to < 5c5ff7c7bd15bb536f44b10b3fb5b8408f344d0a · 84b7625728ea311ea35bdaa0eded53c1c56baeaa to < d5f59216650c51e5e3fcb7517c825bc8047f60ef · 84b7625728ea311ea35bdaa0eded53c1c56baeaa to < 52cecff98bda2c51eed1c6ce9d21c5d6268fb19d · 84b7625728ea311ea35bdaa0eded53c1c56baeaa to < 27fdbab4221b375de54bf91919798d88520c6e28 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.13 (affected) · 0 to < 4.13 (unaffected · semver) · 5.10.254 through 5.10.* (unaffected · semver) · 5.15.204 through 5.15.* (unaffected · semver) · 6.1.170 through 6.1.* (unaffected · semver) · 6.6.137 through 6.6.* (unaffected · semver) · 6.12.85 through 6.12.* (unaffected · semver) · 6.18.26 through 6.18.* (unaffected · semver) · 7.0.3 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-120 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2026-102 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1694 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-211.26.1.el10_2 ALSA-2026:27288
AlmaLinux 10 kernel-doc Advisory build 6.12.0-211.26.1.el10_2 ALSA-2026:27288
Show 100 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2026-1754 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1816 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.134.1.rt7.475.el8_10 ALSA-2026:26428
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.134.1.rt7.475.el8_10 ALSA-2026:26428
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.134.1.rt7.475.el8_10 ALSA-2026:26428
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.134.1.rt7.475.el8_10 ALSA-2026:26428
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.134.1.rt7.475.el8_10 ALSA-2026:26428
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.134.1.rt7.475.el8_10 ALSA-2026:26428
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.134.1.rt7.475.el8_10 ALSA-2026:26428
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.134.1.rt7.475.el8_10 ALSA-2026:26428
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.134.1.rt7.475.el8_10 ALSA-2026:26428
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.134.1.rt7.475.el8_10 ALSA-2026:26428
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 perf Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.134.1.el8_10 ALSA-2026:26427
AlmaLinux 9 kernel Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-64k Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-core Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-debug Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-devel Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-doc Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-headers Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-modules Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-tools Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-687.13.1.el9_8 ALSA-2026:24381

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: Buffer overflow in drivers/xen/sys-hypervisor.c The build id returned by HYPERVISOR_xen_version(XENVER_build_id) is neither NUL terminated nor a string. The first causes a buffer overflow as sprintf in buildid_show will read and copy till it finds a NUL. 00000000 f4 91 51 f4 dd 38 9e 9d 65 47 52 eb 10 71 db 50 |..Q..8..eGR..q.P| 00000010 b9 a8 01 42 6f 2e 32 |...Bo.2| 00000017 So use a memcpy instead of sprintf to have the correct value: 00000000 f4 91 51 f4 dd 00 9e 9d 65 47 52 eb 10 71 db 50 |..Q.....eGR..q.P| 00000010 b9 a8 01 42 |...B| 00000014 (the above have a hack to embed a zero inside and check it's returned correctly). This is XSA-485 / CVE-2026-31786

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

33

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable buildid_show path is reached by a local read of /sys/hypervisor/properties/buildid inside a Linux Xen domain. It is not reachable directly from network packets or adjacent/physical interfaces. AC:L - Triggering the bug only requires reading a sysfs file, with no race or special timing. Any uncertainty about heap layout affects exploitation details, so the higher-severity low complexity is appropriate. PR:L - The sysfs attribute is read-only mode 0444, so any unprivileged local user in the Xen guest can access it. No capability, authentication, or real-root check gates the read path. UI:N - No victim action is required beyond the attacker performing the sysfs read. The vulnerable code runs synchronously in the attacker's read path. S:U - The impact is within the Linux Xen guest kernel security authority. This is not a Xen guest-to-host escape or cross-VM boundary violation. C:H - The bug performs an out-of-bounds read past the hypervisor build ID and can return adjacent kernel memory through a user-readable sysfs file. The Xen advisory states kernel secrets may be leaked. I:H - If no NUL byte is encountered before the PAGE_SIZE sysfs buffer is exceeded, sprintf can write past the sysfs buffer and corrupt kernel memory. The advisory identifies privilege escalation as possible, so high integrity impact is defensible. A:H - The out-of-bounds read/write can corrupt kernel memory and crash the guest kernel. The advisory explicitly lists DoS as a possible impact.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 84b7625728ea311ea35bdaa0eded53c1c56baeaa to < e3af585e1728c917682b6a3de9a69b41fb9194d4 (affected · git)84b7625728ea311ea35bdaa0eded53c1c56baeaa to < 8288d031a01dbacfde3fc643f7be3d23504de64d (affected · git)84b7625728ea311ea35bdaa0eded53c1c56baeaa to < f458ba102da97fafca106327086fc95f3fc764cb (affected · git)84b7625728ea311ea35bdaa0eded53c1c56baeaa to < 4b4defd2fce3f966c25adabf46644a85558f1169 (affected · git)84b7625728ea311ea35bdaa0eded53c1c56baeaa to < 5c5ff7c7bd15bb536f44b10b3fb5b8408f344d0a (affected · git)84b7625728ea311ea35bdaa0eded53c1c56baeaa to < d5f59216650c51e5e3fcb7517c825bc8047f60ef (affected · git)84b7625728ea311ea35bdaa0eded53c1c56baeaa to < 52cecff98bda2c51eed1c6ce9d21c5d6268fb19d (affected · git)84b7625728ea311ea35bdaa0eded53c1c56baeaa to < 27fdbab4221b375de54bf91919798d88520c6e28 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.13 (affected)0 to < 4.13 (unaffected · semver)5.10.254 through 5.10.* (unaffected · semver)5.15.204 through 5.15.* (unaffected · semver)6.1.170 through 6.1.* (unaffected · semver)6.6.137 through 6.6.* (unaffected · semver)6.12.85 through 6.12.* (unaffected · semver)6.18.26 through 6.18.* (unaffected · semver)7.0.3 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-120 CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') (CISA-ADP · adp)

References

10

Provider assertions

3

Linux · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
38056b0220046f4233d7a46bcd116064bd257c0061c37312b780b22afdeab0a3
Ingested
19 Oct 2026, 19:18:18 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected