Skip to content
Hacker Posts
VulnerabilityCVE-2026-139281

Linux conntrack IPv6 flaw bypasses firewalls (CVE-2026-139281)

CVE-2026-139281, a 9.1-rated Netfilter conntrack bug, lets crafted fragmented IPv6 traffic slip past stateful firewall rules. Fixed in the latest stable kernels.

Hacker Posts DeskPublished 3 min read

A Linux kernel flaw in Netfilter connection tracking lets a remote attacker push crafted IPv6 traffic past stateful firewall rules that are meant to block it. CVE-2026-139281 is rated 9.1 (Critical) by Red Hat, needs no credentials or user interaction, and bites only where fragmented IPv6 reaches a vulnerable kernel. The fix is already in mainline and in the current stable branches.

The primary source is the upstream kernel commit; Red Hat tracks it at its CVE page. It was reported by The Hacker News and BleepingComputer.

What the bug does

The flaw lives in IPv6 fragment reassembly inside conntrack (net/ipv6/netfilter/nf_conntrack_reasm.c). A header-field position is stored in a variable that tops out at 255. A long chain of IPv6 extension headers pushes that value past the limit, it wraps, and the wrong byte of the packet is overwritten during reassembly.

The consequence is a tracking desync: conntrack records one destination while the packet is delivered to another. In the fix's own example, a two-fragment packet is logged as UDP port 53 but delivered to UDP port 9999 — so any firewall rule keyed on the conntrack record can be stepped around. The bug dates back roughly 21 years in the reassembly code; technical details have been public since August 22, 2026.

Affected and fixed versions

The one-line upstream fix was merged October 19 and landed in mainline 7.4-rc1 (November 1). Patch author Jérémy Jean's commit carries an Assisted-by: Codex:gpt-5 trailer; the kernel log does not say what the AI assistance involved. First fixed stable releases:

BranchFirst fixed
5.105.10.275
5.155.15.226
6.16.1.193
6.66.6.163
6.126.12.119
6.186.18.65
7.37.3.6

Red Hat shipped an erratum for RHEL 8 and AlmaLinux matched it. Debian lists bookworm and trixie as vulnerable, including security-channel kernels; Ubuntu marks its standard kernels as needing evaluation at Medium priority.

Exploitation status

No in-the-wild exploitation is confirmed in public sources as of writing, and no public PoC has been posted. The risk is structural rather than acute: the technical analysis is public, the trigger is unauthenticated, and any environment that firewalls IPv6 by conntrack state is a candidate.

Action checklist

  1. Update to a fixed kernel for your branch using the table above, or to your distribution's patched build (Red Hat/AlmaLinux errata are out; Debian and Ubuntu are tracking).
  2. If you cannot patch and do not need IPv6, disable it — Red Hat's suggested interim workaround. Neither Debian nor Ubuntu lists an alternative.
  3. Do not rely on conntrack-stateful IPv6 rules on an unpatched host facing untrusted networks; the record they depend on can be forged.
  4. Confirm the fix, not just the advisory: check the running kernel version against the first-fixed release for your series.

Context

This is a reminder that a "patched upstream" CVE is not a patched fleet. The commit merged in October, but the distribution picture a month later is split — RHEL done, Debian stable still exposed — and the KEV catalog carries nothing, so there is no deadline forcing the issue. Firewall-bypass bugs are quiet by nature: nothing crashes, traffic simply reaches a port your rules said it could not.