Skip to main content

Linux EUVDEUVD-2026-18784

| CVE-2026-31401 HIGH
Out-of-bounds Write (CWE-787)
2026-04-03 Linux GHSA-whg2-hqg5-6ph3
High
Disputed · 7.8 Vendor: Linux
View

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

Risk assessment is constrained by absence of CVSS score, EPSS probability, CVE publication status, and KEV confirmation data. However, structural analysis indicates moderate-to-high real-world risk due to: (1) kernel-level memory corruption potential leading to privilege escalation or denial of service, (2) requirement for BPF program loading capability (typically requires CAP_BPF or similar privileges, though container/VM escape scenarios exist), (3) no public exploit code identified at time of analysis, and (4) upstream fixes merged into stable kernel branches. The vulnerability is not a low-CVSS-ignored case-kernel memory safety issues require prioritized patching despite missing formal scoring. Attack surface depends on kernel configuration (HID-BPF may be disabled in hardened deployments) and privilege model (who can load BPF programs).

Exploit ScenarioDerived

An attacker with capability to load BPF programs (such as a privileged container process, virtual machine guest with CAP_BPF, or local user in a permissive namespace) crafts a malicious HID-BPF program that returns an oversized value from dispatch_hid_bpf_raw_requests(). When a HID device request triggers this BPF program, the returned size value overflows the hid_hw_request buffer, corrupting adjacent kernel memory and potentially achieving privilege escalation or kernel panic. No public exploit code has been identified at time of analysis; the vulnerability requires deliberate BPF program injection rather than remote exploitation.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 03, 2026

Buffer overflow in Linux kernel HID-BPF subsystem allows arbitrary return values from dispatch_hid_bpf_raw_requests() to overflow the hid_hw_request buffer without validation. The vulnerability affects all Linux kernel versions with HID-BPF support; attackers with the ability to load or influence BPF programs targeting HID devices can trigger memory corruption. No CVSS score, EPSS data, or confirmed active exploitation has been assigned at time of analysis.

RemediationAI

Apply kernel updates from your distribution containing the upstream fixes from the stable kernel repositories. Users should upgrade to the latest stable or LTS kernel version for their distribution that includes the HID-BPF buffer validation patches (commit references provided above). Interim mitigation: disable HID-BPF in kernel configuration (CONFIG_HID_BPF=n) if not required for your hardware and workload. For systems where BPF is required, restrict BPF program loading using kernel LSM policies or by limiting CAP_BPF privilege. Consult your Linux distribution's security advisory for specific patched kernel versions. The upstream fixes are available at https://git.kernel.org/stable/ under the commit hashes listed in references.

Affected VersionsENISA

Linux patch: 6.12.78
Linux 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1 <73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1
Linux patch: 7.0-rc5
Linux 6.11
Linux patch: 6.18.20
Linux 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1 <2b658c1c442ec1cd9eec5ead98d68662c40fe645
Linux 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1 <eb57dae20fdf6f3069cdc07821fa3bb46de381d7
Linux 8bd0488b5ea58655ad6fdcbe0408ef49b16882b1 <d6efaa50af62fb0790dd1fd4e7e5506b46312510
Linux patch: 6.19.10
Linux patch: 0

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Linux kernel HID (Human Interface Device) subsystem includes BPF (Berkeley Packet Filter) integration that allows dynamic request handling through struct_ops dispatch mechanisms. The hid_hw_request function processes HID device communications but did not validate the return value size from dispatch_hid_bpf_raw_requests(), which invokes user-controlled or untrusted BPF programs. This violates buffer boundary checking principles (CWE category: Improper Input Validation / Buffer Boundary Violation). The affected component is part of the kernel's HID subsystem (drivers/hid/), which manages input devices like keyboards, mice, and custom HID peripherals. CPE indicates the vulnerability affects Linux kernel distributions across all architectures and configurations where HID-BPF is present.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Low–High)
Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH
Red Hat 4.4 LOW

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Apr 27, 2026 - 14:22 NVD
7.8 (HIGH)
Patch available
Apr 16, 2026 - 05:29 EUVD
73c5b5aea1c443239c8cb4191b4af7a4bd6fd7b1,2b658c1c442ec1cd9eec5ead98d68662c40fe645
CVE Published
Apr 03, 2026 - 15:16 nvd
N/A

DescriptionCVE.org

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

HID: bpf: prevent buffer overflow in hid_hw_request

right now the returned value is considered to be always valid. However, when playing with HID-BPF, the return value can be arbitrary big, because it's the return value of dispatch_hid_bpf_raw_requests(), which calls the struct_ops and we have no guarantees that the value makes sense.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy