HOMEVULNERABILITIESCVE-2026-31787
HIGH

CVE-2026-31787

Published: April 30, 2026· Updated: May 6, 2026

7.8
CVSS v3.1
EPSS:0.03%probability of exploitation in 30 daysPercentile:9.5th

Official Description

In the Linux kernel, the following vulnerability has been resolved:

xen/privcmd: fix double free via VMA splitting

privcmd_vm_ops defines .close (privcmd_close), but neither .may_split

nor .open. When userspace does a partial munmap() on a privcmd mapping,

the kernel splits the VMA via __split_vma(). Since may_split is NULL,

the split is allowed. vm_area_dup() copies vm_private_data (a pages

array allocated in alloc_empty_pages()) into the new VMA without any

fixup, because there is no .open callback.

Both VMAs now point to the same pages array. When the unmapped portion

is closed, privcmd_close() calls:

- xen_unmap_domain_gfn_range()

- xen_free_unpopulated_pages()

- kvfree(pages)

The surviving VMA still holds the dangling pointer. When it is later

destroyed, the same sequence runs again, which leads to a double free.

Fix this issue by adding a .may_split callback denying the VMA split.

This is XSA-487 / CVE-2026-31787

NVD Source

Technical Analysis

CVE-2026-31787 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 7.8.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.Low
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Vendors & Products

Linux1 product
linux kernel
Source: NVD CPE · 2 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (10)

Quick Facts

CVE IDCVE-2026-31787
CVSS Score7.8 / 10
SeverityHIGH
CISA KEVNo
EPSS (30d)0.03%
Affected1 vendor
PublishedApr 30, 2026

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2026-31787 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.