Skip to main content

Linux Kernel EUVDEUVD-2026-25648

| CVE-2026-31681 MEDIUM
2026-04-25 Linux
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local access with CAP_NET_ADMIN
  2. Delivery
    Craft malformed iptables multiport v1 rule with range-start at last slot
  3. Exploit
    Load rule via iptables/netfilter interface
  4. Execution
    Trigger packet evaluation against malformed rule
  5. Persist
    ports_match_v1() reads past ports[] array boundary
  6. Impact
    Kernel oops/panic crashes system

Vulnerability Assessment

Exploitation Conditions

Exploitation requires a local actor with CAP_NET_ADMIN capability or equivalent access to a network namespace that permits loading netfilter rules - this is typically held only by root or processes explicitly granted elevated network capabilities. The xt_multiport kernel module must be present and loadable (built-in or as a loadable module; it is commonly enabled in general-purpose kernel builds). Standard unprivileged users cannot trigger this flaw. The primary risk environment is container deployments that grant CAP_NET_ADMIN to untrusted or semi-trusted container workloads, where a compromised container could crash the host kernel. Bare-metal or VM deployments where only root-equivalent administrators load netfilter rules face negligible practical risk. CVSS PR:L confirms that some privilege level is required; unauthenticated remote exploitation is not possible.

Impact

The provided CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, score 5.5 Medium) accurately characterizes the threat: local, low-complexity, low-privilege, availability-only impact with no scope change. The local attack vector is the dominant risk-limiting factor - exploitation demands CAP_NET_ADMIN or an equivalent network namespace capability, which standard unprivileged users do not hold. EPSS at 0.02% (5th percentile) is consistent with this narrow attack surface and confirms no observed widespread exploitation. The vulnerability is not listed in CISA KEV, and no public proof-of-concept has been identified. The 'Information Disclosure' tag in the source data conflicts with the CVSS C:N metric and the technical description; it appears erroneous and the confirmed impact is availability-only (kernel crash/DoS). The primary elevated-risk scenario is container environments that grant CAP_NET_ADMIN to untrusted workloads - in such deployments a compromised or malicious container could crash the host kernel. For standard server deployments where only root-equivalent processes can load netfilter rules, realistic risk is low despite the ubiquitous footprint of the Linux kernel.

Exploit ScenarioDerived

A user or process holding CAP_NET_ADMIN in a network namespace - such as a container runtime that grants this capability to workloads - crafts an iptables multiport v1 rule where the final port slot is flagged as a range start with no successor, then loads it using iptables or a compatible tool. When the kernel subsequently processes a packet that reaches this rule, ports_match_v1() reads one element past the end of the ports[] array, triggering a kernel oops or panic and crashing the host system. No public proof-of-concept has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Jul 24, 2026

Out-of-bounds array access in the Linux kernel's netfilter xt_multiport module enables a local attacker with low privileges to crash the system via a crafted malformed iptables rule. The checkentry validation path for multiport v1 rules fails to verify range encoding, allowing ports_match_v1() to step past the end of the ports[] array when processing rules where the last slot is flagged as a range start or when two consecutive range-start markers appear without an intervening range-end. Exploitation is confined to local actors with CAP_NET_ADMIN capability; no public exploit has been identified and EPSS sits at 0.02% (5th percentile), consistent with the narrow attack surface.

RemediationAI

Upgrade to a patched Linux kernel: 6.12.83, 6.18.24, 6.19.14, or 7.0, as available from your distribution vendor or from upstream kernel.org stable trees (see commits referenced above). Ubuntu users should apply the packages listed in USN-8567-1 at https://ubuntu.com/security/notices/USN-8567-1. Where immediate patching is not feasible, restrict CAP_NET_ADMIN to explicitly trusted processes by auditing container capability grants and seccomp profiles - this prevents untrusted workloads from loading malformed iptables rules and is the highest-value compensating control; the trade-off is that legitimate containerized network configuration will also be blocked. Alternatively, blacklisting the xt_multiport kernel module ('echo blacklist xt_multiport >> /etc/modprobe.d/xt_multiport.conf' followed by 'modprobe -r xt_multiport') eliminates the vulnerable code path entirely, but will break any existing firewall rules that use '-m multiport', requiring those rules to be rewritten using multiple individual '-p tcp --dport' match statements before applying.

Affected VersionsENISA

Linux patch: 6.19.14
Linux patch: 7.0
Linux patch: 6.18.24
Linux patch: 6.12.83
Linux a89ecb6a2ef732d04058d87801e2b6bd7e5c7089 <aec14808271f2bf2b656de6ff12dfe73c5fd3b67
Linux patch: 0
Linux a89ecb6a2ef732d04058d87801e2b6bd7e5c7089 <1e4baa853f1cc4227e04f52d6860524707cfb294
Linux 2.6.17
Linux a89ecb6a2ef732d04058d87801e2b6bd7e5c7089 <ff64c5bfef12461df8450e0f50bb693b5269c720
Linux a89ecb6a2ef732d04058d87801e2b6bd7e5c7089 <8368ce8eb01f0b91111d814703696e780d0ef12f

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 vulnerability resides in net/netfilter/xt_multiport.c within the Linux kernel's netfilter subsystem, which underpins iptables and nftables packet filtering. The xt_multiport module (loaded via 'iptables -m multiport') supports matching packets against multiple source or destination ports including port ranges encoded in the v1 format. In v1 encoding, a non-zero pflags[i] entry signals that ports[i] is the start of a range, and ports_match_v1() unconditionally treats the next array element ports[i+1] as the range end. The checkentry function validates protocol type, flag values, and port count but omits validation of the range encoding itself - it never confirms that each range-start entry has a successor within bounds, or that two consecutive entries are not both flagged as range starts. This constitutes an out-of-bounds read (analogous to CWE-125) when ports_match_v1() evaluates a packet against a malformed rule at runtime. CPE data identifies the affected product as cpe:2.3:a:linux:linux:* across all architectures, with the vulnerable code traceable to commit a89ecb6a2ef732d04058d87801e2b6bd7e5c7089 and the bug present as far back as Linux 2.6.17 when the xt_multiport v1 interface was introduced.

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

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Requires CAP_NET_ADMIN (low privilege, local) to load malformed rules; crash-only impact warrants A:H with no confidentiality or integrity effect.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 6.1 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

5
CVSS changed
May 06, 2026 - 21:22 NVD
5.5 (MEDIUM)
Patch released
Apr 27, 2026 - 18:32 nvd
Patch available
Patch available
Apr 25, 2026 - 10:16 EUVD
CVE Published
Apr 25, 2026 - 08:46 nvd
N/A
CVE Published
Apr 25, 2026 - 08:46 nvd
MEDIUM 5.5

DescriptionNVD

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

netfilter: xt_multiport: validate range encoding in checkentry

ports_match_v1() treats any non-zero pflags entry as the start of a port range and unconditionally consumes the next ports[] element as the range end.

The checkentry path currently validates protocol, flags and count, but it does not validate the range encoding itself. As a result, malformed rules can mark the last slot as a range start or place two range starts back to back, leaving ports_match_v1() to step past the last valid ports[] element while interpreting the rule.

Reject malformed multiport v1 rules in checkentry by validating that each range start has a following element and that the following element is not itself marked as another range start.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Prevalence
Ubiquitous
Linux kernel underlies the vast majority of servers, cloud VMs, and embedded systems globally.
Threat Intel
2
1 source
Data Quality
7 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Medium
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

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

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