Be first to know. Be ready to defend.

Linux kernel bug from 2006 lets crafted IPv6 fragments slip past firewall rules (CVE-2026-139281)

Illustration headed IPv6 fragments slip past Linux firewall rules. A terminal box follows one reassembled packet: an offset of 300 is stored in a u8 and wraps to 44; conntrack sees UDP port 53, which the ruleset allows; the kernel delivers the packet to UDP port 9999. A footer notes the fix is one line, changing u8 to int. Chips read CVE-2026-139281, CVSS 9.1, Bug since 2006.Illustration headed IPv6 fragments slip past Linux firewall rules. A terminal box follows one reassembled packet: an offset of 300 is stored in a u8 and wraps to 44; conntrack sees UDP port 53, which the ruleset allows; the kernel delivers the packet to UDP port 9999. A footer notes the fix is one line, changing u8 to int. Chips read CVE-2026-139281, CVSS 9.1, Bug since 2006.
On this page
  1. One byte too small
  2. Who has a fix
  3. What to do

If your Linux firewall relies on stateful rules to block IPv6 traffic, a flaw fixed in the kernel this week could let an attacker get packets through to services you think are blocked. No login or user action is needed, only crafted IPv6 fragments.

The bug, CVE-2026-139281, sits in Netfilter’s code for reassembling IPv6 fragments for connection tracking. It has been there since the connection tracking subsystem arrived in Linux 2.6.15, released in January 2006. The kernel’s CVE team published it on 30 November with a CVSS 3.1 score of 9.1, and Red Hat rates it Critical. No attacks or public exploit code have been reported.

One byte too small

When fragments arrive, the kernel walks the chain of IPv6 extension headers to find the field just before the Fragment header, and notes its position. It kept that position in a variable that holds only values from 0 to 255. An attacker who adds enough extension headers can push the field past byte 255, so the stored position wraps round to a small number.

When the kernel puts the packet back together, it writes a byte at that wrong position. That changes how the header chain reads. Connection tracking, and the firewall rules that depend on it, then see one transport header, while the kernel’s normal IPv6 input path delivers the packet using another.

One port for the firewall, another for delivery. Step 1: an attacker sends two IPv6 fragments with enough extension headers to push a field past byte 255. Step 2: the kernel saves the field’s position in a single byte, which can only hold 0 to 255, so the value wraps. Step 3: reassembly overwrites one byte elsewhere in the header chain. Step 4: connection tracking records the allowed port, in the kernel’s own example UDP port 53. Step 5: the kernel delivers the packet to a blocked port, in the same example UDP port 9999. It only works where IPv6 connection tracking is in use.One port for the firewall, another for delivery. Step 1: an attacker sends two IPv6 fragments with enough extension headers to push a field past byte 255. Step 2: the kernel saves the field’s position in a single byte, which can only hold 0 to 255, so the value wraps. Step 3: reassembly overwrites one byte elsewhere in the header chain. Step 4: connection tracking records the allowed port, in the kernel’s own example UDP port 53. Step 5: the kernel delivers the packet to a blocked port, in the same example UDP port 9999. It only works where IPv6 connection tracking is in use.

The kernel’s own fix gives an example. A two-fragment packet can be recorded as going to UDP port 53, which a firewall might allow for DNS, while its payload reaches UDP port 9999 on the same host. According to the CVE record, the attacker chooses both values and the result doesn’t depend on timing. It describes the impact as a wrong firewall verdict for traffic to the host itself: the attacker can reach local services that the rules were meant to block. It doesn’t corrupt memory outside the packet or crash the kernel.

It only matters on systems that use IPv6 connection tracking, which is what stateful IPv6 rules in nftables or ip6tables rely on. If you don’t filter IPv6 with stateful rules, the firewall bypass doesn’t apply.

The fix changes one line, so the variable can hold the full offset. It was written by Jérémy Jean, from an address at cyber.gouv.fr, the domain of France’s national cybersecurity agency, ANSSI. The commit carries an “Assisted-by” tag naming OpenAI’s Codex.

Who has a fix

Fix status for CVE-2026-139281 on 4 December 2026. Upstream stable kernels 5.10.275, 5.15.226, 6.1.193, 6.6.163 and later are fixed. RHEL 8 and AlmaLinux 8 are fixed in RHSA-2026:107608 and ALSA-2026:107608. RHEL 9 and 10: Red Hat lists the kernel as affected, with no fix yet. Debian 12 and 13: no fix yet; it is fixed only in forky and sid. Ubuntu: medium priority, with every supported release still needing a fix.Fix status for CVE-2026-139281 on 4 December 2026. Upstream stable kernels 5.10.275, 5.15.226, 6.1.193, 6.6.163 and later are fixed. RHEL 8 and AlmaLinux 8 are fixed in RHSA-2026:107608 and ALSA-2026:107608. RHEL 9 and 10: Red Hat lists the kernel as affected, with no fix yet. Debian 12 and 13: no fix yet; it is fixed only in forky and sid. Ubuntu: medium priority, with every supported release still needing a fix.

Upstream, the fix is in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 and 7.3.6, and in mainline from 7.4-rc1.

Distributions are moving at different speeds:

  • Red Hat fixed RHEL 8 on 3 December in RHSA-2026:107608, and has fixes out for RHEL 6 Extended Lifecycle Support and RHEL 8.6 Extended Update Support. RHEL 9 and RHEL 10, along with OpenShift’s CoreOS images, are still listed as affected.
  • AlmaLinux shipped the matching RHEL 8 update as ALSA-2026:107608. There’s no AlmaLinux 9 or 10 update yet.
  • Debian’s tracker shows bookworm and trixie still vulnerable. Only forky and sid have the fix.
  • Ubuntu rates it Medium priority and marks every supported release as needing a fix, with none released.

What to do

  1. Install a fixed kernel and reboot. Use your distribution’s update once it names CVE-2026-139281, or an upstream stable kernel at or above the versions listed. The fix doesn’t take effect until you reboot into the new kernel.
  2. If you can’t patch yet, consider turning IPv6 off where you don’t need it. Red Hat suggests this as a mitigation and explains how for RHEL. It cuts off all IPv6 on the machine, so only do it on systems that don’t use IPv6.
  3. Don’t rely on the host firewall alone for sensitive services. Until you’ve patched, make sure anything you’ve blocked with IPv6 rules is also protected another way, such as binding it to localhost or putting it behind a network firewall.
  4. On Debian, Ubuntu, RHEL 9 and RHEL 10, watch for kernel updates that name this CVE. Check the trackers linked above.