Critical 21-Year-Old Linux Kernel Flaw Allows Firewall Bypass via Crafted IPv6 Packets
A critical vulnerability in the Linux kernel's Netfilter connection tracking, present for nearly two decades, allows remote attackers to bypass firewalls by sending specially crafted IPv6 packets.

A critical flaw residing in the Linux kernel's Netfilter connection tracking mechanism, present for nearly 21 years, has been disclosed, enabling remote attackers to bypass stateful firewall rules. The vulnerability, identified as CVE-2026-139281, allows threat actors to send crafted IPv6 packets that circumvent firewall rules, granting access to services that should otherwise remain blocked.
Rated with a severity score of 9.1 out of 10 by Red Hat, this vulnerability requires no authentication or user interaction to exploit. Its activation is contingent upon the presence of fragmented IPv6 traffic reaching a vulnerable kernel. The bug lies within the code responsible for reassembling fragmented IPv6 packets, specifically in net/ipv6/netfilter/nf_conntrack_reasm.c. The issue arises when a long chain of IPv6 extension headers causes a critical header field's position to exceed the 255 limit of its storage variable, leading to a wrap-around. This corruption results in the wrong byte of the packet being overwritten during the reassembly process.
Consequently, the connection tracking system can incorrectly record the destination of the packet. For instance, a two-fragment packet might be logged as destined for UDP port 53 (DNS), while its actual payload is delivered to UDP port 9999. This discrepancy allows filtering rules, which rely on the accurate connection tracking record, to permit traffic that they were designed to block.
The vulnerability has existed in the Linux kernel since the conntrack subsystem was introduced in version 2.6.15 in January 2006, meaning the affected code is almost 21 years old. The fix, a single-line change, was merged into the mainline Linux kernel in version 7.4-rc1 on November 1st. Red Hat has assigned a 'Critical' severity rating to this flaw.
Patches for the maintained stable kernel branches began shipping last week. Specific fixed releases include 5.10.275 for the 5.10 branch, 5.15.226 for 5.15, 6.1.193 for 6.1, 6.6.163 for 6.6, 6.12.119 for 6.12, 6.18.65 for 6.18, and 7.3.6 for the 7.3 branch. The mainline kernel received the fix in 7.4-rc1.
However, some major distributions are still in the process of rolling out updates. Debian's stable releases, Bookworm and Trixie, are listed as vulnerable, although their development branches have already incorporated the fix. Ubuntu is currently evaluating its kernel packages and has assigned a 'Medium' priority to the flaw. Red Hat Enterprise Linux 8 received an updated kernel erratum today, with AlmaLinux releasing a corresponding update.
For systems where immediate updates are not feasible, Red Hat suggests disabling IPv6 if it is not required. Neither Debian nor Ubuntu have provided a specific workaround for this issue. The vulnerability poses the most significant risk to systems where internal firewall rules are the primary defense for sensitive services against external access.
The technical details of the vulnerability were made public on August 22nd by researcher Jérémy Jean, who also authored the fix. The patch was officially merged upstream on October 19th, with the CVE record being published this week, over three months after the code change was initially submitted. Notably, the patch submission included the trailer 'Assisted-by: Codex:gpt-5', indicating potential AI assistance in either finding the bug, writing the fix, or verifying it.