5.5

CVE-2026-31681: netfilter: xt_multiport: validate range encoding in checkentry

Modified
AliasesUBUNTU-CVE-2026-31681DEBIAN-CVE-2026-31681CGA-3xqf-5788-5hmv
Published 25-04-2026Last modified 10-11-2026

Vulnerability summary

CVE-2026-31681 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.12% chance of exploitation in the next 30 days, higher than 2.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.12%
0%100%
Low · -0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 33 · Related 30

Timeline

  1. 25-04-2026
    PublishedVulnerability first disclosed.
  2. 10-11-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.12%

Chance of exploitation in the next 30 days

Percentile

2%

Versus all other CVEs

30-day change

Decrease -0.05 pp

From 0.18% on 21-10-2026

21-10-202620-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu158 products
  • linuxAll versions (No fix recorded) | < 5.15.0-186.196 | < 6.8.0-136.136
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1112.119 | < 6.8.0-1061.64
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Chainguard5 products
  • linux-aws-6.18< 6.18.31-r0
  • linux-azure-6.18< 6.18.31-r0 | < 6.18.24-r1
  • linux-gcp-6.18< 6.18.31-r0
  • linux-qemu-6.18< 6.18.24-r3
  • linux-vmware-6.18< 6.18.31-r0
Linux2 products
  • linux≥ a89ecb6a2ef732d04058d87801e2b6bd7e5c7089, < 8c5bf8f5b478f569191c4a7982de7cd5f5f73c1a | ≥ a89ecb6a2ef732d04058d87801e2b6bd7e5c7089, < c9749f6232c845e31c21d4cc72200211df15d8a2 | ≥ a89ecb6a2ef732d04058d87801e2b6bd7e5c7089, < b67d638cbee9975c765feb45c126e96ed11ec802 | ≥ a89ecb6a2ef732d04058d87801e2b6bd7e5c7089, < 36bf0d98e180a7c384c8d8a59b0d2d4b80e5eb16 | ≥ a89ecb6a2ef732d04058d87801e2b6bd7e5c7089, < aec14808271f2bf2b656de6ff12dfe73c5fd3b67 | ≥ a89ecb6a2ef732d04058d87801e2b6bd7e5c7089, < 8368ce8eb01f0b91111d814703696e780d0ef12f | ≥ a89ecb6a2ef732d04058d87801e2b6bd7e5c7089, < 1e4baa853f1cc4227e04f52d6860524707cfb294 | ≥ a89ecb6a2ef732d04058d87801e2b6bd7e5c7089, < ff64c5bfef12461df8450e0f50bb693b5269c720 | 2.6.17
  • linux_kernel≥ 2.6.17, < 6.6.136 | ≥ 6.7, < 6.12.83 | ≥ 6.13, < 6.18.24 | ≥ 6.19, < 6.19.14 | 7.0:rc1 | 7.0:rc2 | 7.0:rc3 | 7.0:rc4 | 7.0:rc5 | 7.0:rc6 | 7.0:rc7
Debian1 product
  • linux< 6.1.176-1 | < 6.12.85-1 | < 6.19.14-1

4 vendors · 166 products

References

43 links
Show all 43 references