Threat Intelligence

21-Year-Old Linux Kernel Bug Lets Crafted IPv6 Traffic Slip Past Firewall Rules

The Hacker News · 4 Dec 2026
Key Takeaway If a Linux server relies on its own firewall rules to protect a sensitive service and has IPv6 enabled, patch the kernel as soon as your distribution offers a fix, or disable IPv6 if you do not need it.

A critical flaw in the Linux kernel's Netfilter connection tracking, tracked as CVE-2026-139281, can let a remote attacker send crafted IPv6 traffic past stateful firewall rules to services those rules are meant to block. Red Hat rates it 9.1 out of 10. It needs no credentials or user interaction, and it only comes into play where fragmented IPv6 traffic reaches a vulnerable kernel. No attacks using the flaw have been confirmed in public sources.

Netfilter is the packet-filtering framework inside the kernel, and conntrack records network connections so that rules written with iptables or nftables can act on them. The bug is in the code that reassembles fragmented IPv6 packets. It stores the position of a header field in a variable that holds values only up to 255. A long chain of IPv6 extension headers pushes that position past the limit, the value wraps around, and the wrong byte is overwritten. Conntrack can then record a different destination from the one where the packet is actually delivered. In the fix's example, a packet is logged as DNS traffic on UDP port 53 but delivered to UDP port 9999.

The flaw has existed since conntrack was added in kernel 2.6.15 in January 2006, so the code is almost 21 years old. A one-line fix reached mainline Linux in 7.4-rc1 on November 1. Fixed kernels began shipping last week for the maintained stable branches. Debian's stable releases, bookworm and trixie, are still listed as vulnerable, and Ubuntu marks its standard kernels as needing evaluation with Medium priority. Red Hat shipped a kernel erratum for RHEL 8 and AlmaLinux published the matching update.

Where updating has to wait, Red Hat suggests disabling IPv6 on systems that do not need it. Neither Debian nor Ubuntu lists a workaround. The technical details have been public since August 22, and the CVE record followed more than three months after the code change went public. The patch also carries an "Assisted-by: Codex:gpt-5" trailer, though the source does not say what the AI assistance involved.

Why it matters

Anyone running Linux hosts where local iptables or nftables rules are the only barrier to a sensitive service is exposed, because the flaw breaks the assumption that conntrack's record matches where a packet is actually delivered. Debian stable users and Ubuntu users face a patch gap, with Debian unpatched and Ubuntu rating it Medium, so the vendor's priority may understate the risk for such hosts. Public technical details have existed since August, which means defenders cannot assume the lack of confirmed attacks will last.

What to do

  • Update to a kernel containing the fix on distributions that have shipped it, such as the RHEL 8 erratum or the AlmaLinux update.
  • Disable IPv6 on systems that do not need it where patching has to wait, as Red Hat suggests.
  • Identify hosts where local firewall rules are the only protection for a sensitive service and prioritise them.
  • Check Debian bookworm and trixie package status and the Ubuntu evaluation status for fixed kernels.
Linux Netfilter IPv6 CVE-2026-139281 Firewall bypass

Summarised by CISO AI from The Hacker News, written with Claude Sonnet 5.5. We link back to every original so you can read it yourself.