A flaw in the Linux kernel’s Netfilter connection tracking code lets crafted IPv6 fragments reach services that a stateful firewall is supposed to block. The bug is tracked as CVE-2026-139281. The kernel’s CVE numbering authority and Red Hat both give it a CVSS 3.1 base score of 9.1.

The vulnerable code goes back to Linux 2.6.15, released in January 2006, when the nf_conntrack subsystem was merged. Every supported stable branch now has a fix.

What the bug does

The problem is in net/ipv6/netfilter/nf_conntrack_reasm.c. This file reassembles IPv6 fragments before conntrack inspects them.

The function find_prev_fhdr() finds the offset of the Next Header field just before the Fragment header and returns it through an int pointer. It kept that offset in an 8-bit local variable while it worked.

A long enough chain of extension headers puts that field past byte 255. The stored offset then wraps around, and reassembly writes to the wrong byte in the header chain.

Critical 21-Year-Old Linux Kernel Netfilter Flaw Lets IPv6 Packets Bypass Firewalls

After that, conntrack can read one transport tuple while the IPv6 stack delivers the packet using a different one. In the CVE record’s example, a two-fragment packet is logged as going to UDP port 53 while its payload actually lands on UDP port 9999.

A firewall rule that trusts the conntrack entry can then pass traffic for a port it would normally drop. The CVSS vector describes a network attack with low complexity that needs no privileges and no user interaction. It rates confidentiality and integrity impact as high and availability impact as none.

The fix

Jérémy Jean sent the patch, “netfilter: nf_conntrack: avoid truncating IPv6 nexthdr offset,” to the Linux kernel mailing list on August 22. It changes the local offset variable to an int, which is the type the output argument and the other offsets in that path already use.

The patch has an “Assisted-by: Codex:gpt-5” trailer. Its Fixes tag points to the original 2006 commit that added nf_conntrack.

Fixed kernel versions

The kernel CNA published the CVE on November 30. According to the record, these are the first fixed releases in each branch:

  • 5.10.275
  • 5.15.226
  • 6.1.193
  • 6.6.163
  • 6.12.119
  • 6.18.65
  • 7.3.6
  • 7.4-rc1 (mainline)

Since then, the 5.10 and 5.15 branches have closed. Their final releases, 5.10.276 and 5.15.227, both include the fix, and kernel.org lists them as released on December 1.

The December 2026 Arch Linux ISO is built on kernel 7.3.6, so new installs from that image also get a patched kernel.

Distribution status

Red Hat rates the issue Critical. On December 3 it shipped kernel erratum RHSA-2026:107608 for RHEL 8, which updates the kernel to 4.18.0-553.193.1.el8_10.

The same update covers RHEL 8.10 Extended Life Cycle and CodeReady Linux Builder 8. Systems need a reboot before the new kernel takes effect.

Debian has not caught up yet. Its security tracker entry still marks bookworm and trixie as vulnerable, along with their security repositories, which carry 6.1.192-3 and 6.12.118-1. Forky and sid are fixed with 7.3.6-1.

Ubuntu gives the CVE Medium priority, which is lower than the CNA and Red Hat ratings, and lists its standard kernels as needing evaluation.

Exploitation and mitigation

As of December 4, public sources had not confirmed any exploitation.

A system is exposed only when it runs an affected kernel and fragmented IPv6 traffic reaches conntrack. For hosts that cannot update yet, Red Hat suggests turning off IPv6 where it is not needed. That cuts off all IPv6 connectivity on the host, so it only works where IPv6 is not in use.

Michael writes command guides and Bash scripting tutorials for Command Linux, with a focus on practical examples readers can use right away. He runs Debian on his servers and Arch on his laptop.