
Critical 21-year-old Linux kernel flaw allows attackers to bypass firewalls with crafted IPv6 packets

A critical flaw in the Linux kernel Network filter Connection tracking could allow a remote attacker to send crafted IPv6 traffic past stateful firewall rules to the services those rules are intended to block.
The bug, tracked as CVE-2026-139281is rated 9.1 out of 10 by Red Hat and requires no credentials or user interaction. It only comes into play where fragmented IPv6 traffic reaches a vulnerable core.
Kernel updates with the patch started shipping last week for maintained stable branches, but stable Debian releases are still waiting for patched packages and Ubuntu is still evaluating its kernels. No attacks using the flaw have been confirmed in public sources at the time of publication.
Netfilter is the packet filtering framework inside the Linux kernel, and conntrack is the part that logs network connections so that stateful rules written with iptables or nftables can act on them.
The bug resides in the code that reassembles fragmented IPv6 packets, in net/ipv6/netfilter/nf_conntrack_reasm.c.
This code stores the position of a header field in a variable that can only hold values up to 255. A long chain of IPv6 extension headers pushes the field beyond this limit, the stored position is looped over, and the bad byte in the packet is overwritten during reassembly.
Conntrack can then register a different destination than the one to which the kernel actually delivers the packet. In the patch example, a two-fragment packet is recorded as traffic to UDP port 53, the DNS port, while its payload is forwarded to UDP port 9999, so that filter rules that rely on recording can forward the traffic they were intended to stop.
The flaw has been present in the kernel since the conntrack subsystem was added in version 2.6.15 in January 2006, making the vulnerable code almost 21 years old. The single-line upstream patch reached mainstream Linux in version 7.4-rc1 on November 1, and Red Hat’s security advisory rates the flaw as critical.
These are the first versions of each branch with the fix, according to the affected CVE ranges:
Kernel branch | First version corrected |
|---|---|
| 5.10 | 5.10.275 |
| 5.15 | 5.15.226 |
| 6.1 | 6.1.193 |
| 6.6 | 6.6.163 |
| 6.12 | 6.12.119 |
| 6.18 | 18.6.65 |
| 7.3 | 7.3.6 |
| Main line | 7.4-rc1 |
Debian lists its stable releases, bookworm and trixie, as vulnerable as of today, including kernels in its security channels (package status). Its development branches already carry fixed 7.3.6. Ubuntu marks its standard kernel packages in all supported versions as requiring evaluation and assigns the flaw a medium priority (evaluation status).
A kernel erratum for Red Hat Enterprise Linux 8 was delivered today and AlmaLinux has released the corresponding update.
Where the update has to wait, Red Hat suggests disabling IPv6 on systems that don’t need it. Neither Debian nor Ubuntu offers a workaround.
This flaw is particularly important when a host’s firewall rules provide the only barrier between a sensitive service and the outside world.
The technical details have been made public since August 22, when Jérémy Jean, the researcher who wrote the patch, posted it to the Linux kernel mailing list (patch submission). The patch was merged upstream on October 19, and the CVE filing followed this week, more than three months after the code change was made public.
The patch also credits AI assistance: it carries the trailer “Assisted-by: Codex:gpt-5”. Neither the patch nor the upstream commit made it clear what that assistance was: finding the bug, writing the fix, or verifying it.
Gn tech