# netfilter: xt_multiport: validate range encoding in checkentry

CVE record · `CVE-2026-31681`

- **Identifiers:** `CVE-2026-31681`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 25 Apr 2026
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 25 Apr 2026, 08:46 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `a89ecb6a2ef732d04058d87801e2b6bd7e5c7089 to before 8c5bf8f5b478f569191c4a7982de7cd5f5f73c1a` (git)
  - affected: `a89ecb6a2ef732d04058d87801e2b6bd7e5c7089 to before c9749f6232c845e31c21d4cc72200211df15d8a2` (git)
  - affected: `a89ecb6a2ef732d04058d87801e2b6bd7e5c7089 to before b67d638cbee9975c765feb45c126e96ed11ec802` (git)
  - affected: `a89ecb6a2ef732d04058d87801e2b6bd7e5c7089 to before 36bf0d98e180a7c384c8d8a59b0d2d4b80e5eb16` (git)
  - affected: `a89ecb6a2ef732d04058d87801e2b6bd7e5c7089 to before aec14808271f2bf2b656de6ff12dfe73c5fd3b67` (git)
  - affected: `a89ecb6a2ef732d04058d87801e2b6bd7e5c7089 to before 8368ce8eb01f0b91111d814703696e780d0ef12f` (git)
  - affected: `a89ecb6a2ef732d04058d87801e2b6bd7e5c7089 to before 1e4baa853f1cc4227e04f52d6860524707cfb294` (git)
  - affected: `a89ecb6a2ef732d04058d87801e2b6bd7e5c7089 to before ff64c5bfef12461df8450e0f50bb693b5269c720` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.17`
  - unaffected: `before 2.6.17` (semver)
  - unaffected: `5.10.258 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.209 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.175 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.136 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.83 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.24 to 6.18.*, inclusive` (semver)
  - unaffected: `6.19.14 to 6.19.*, inclusive` (semver)
  - unaffected: `7.0 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Linux kernel netfilter xt_multiport from 2.6.17 mishandles malformed multiport v1 rules, so rule matching can step past the last valid ports entry. The source gives few details on who can supply such rules or on the impact. Upgrade to Linux 5.10.258, 5.15.209, 6.1.175, 6.6.136, or a later release in those series.

Written 17 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0012, the 2nd percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 25 Apr 2026, 08:46 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-31681)
- 25 Apr 2026, 09:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-31681)

## Sources

- [CVE List: CVE-2026-31681](https://www.cve.org/CVERecord?id=CVE-2026-31681)
- [NVD: CVE-2026-31681](https://nvd.nist.gov/vuln/detail/CVE-2026-31681)

### References from the CNA

- <https://git.kernel.org/stable/c/8c5bf8f5b478f569191c4a7982de7cd5f5f73c1a>
- <https://git.kernel.org/stable/c/c9749f6232c845e31c21d4cc72200211df15d8a2>
- <https://git.kernel.org/stable/c/b67d638cbee9975c765feb45c126e96ed11ec802>
- <https://git.kernel.org/stable/c/36bf0d98e180a7c384c8d8a59b0d2d4b80e5eb16>
- <https://git.kernel.org/stable/c/aec14808271f2bf2b656de6ff12dfe73c5fd3b67>
- <https://git.kernel.org/stable/c/8368ce8eb01f0b91111d814703696e780d0ef12f>
- <https://git.kernel.org/stable/c/1e4baa853f1cc4227e04f52d6860524707cfb294>
- <https://git.kernel.org/stable/c/ff64c5bfef12461df8450e0f50bb693b5269c720>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-31681>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-31681/>. Everything for agents: <https://agentprime.io/llms.txt>.
