21-Year-Old Linux Flaw Lets IPv6 Packets Slip Past Firewalls
CVE-2026-139281 lets crafted IPv6 fragments reach ports a Linux firewall should block. Fixes exist upstream, but many distributions have not shipped them yet.
In this article
This article is for anyone who runs Linux servers, firewalls, routers or virtual machines, whether in your own office, a Lagos data centre or a cloud account. A Linux kernel bug that dates back to kernel 2.6.15, released in early 2006, can let specially crafted IPv6 packets reach services your firewall was supposed to block. Fixes exist upstream, but many popular distributions had not shipped them at the time of writing.
Key takeaways
- The flaw, CVE-2026-139281, sits in the Linux kernel’s connection tracking (nf_conntrack) code that handles fragmented IPv6 packets.
- Red Hat rates it Critical (CVSS 9.1). SUSE rates it Important and Ubuntu rates it Medium.
- No exploitation in the wild has been confirmed, and no public proof-of-concept had been reported at the time of writing.
- Fixed stable kernels include 7.3.6, 6.18.65, 6.12.119, 6.6.163, 6.1.193, 5.15.226 and 5.10.275. Enterprise distributions use their own numbering.
- Until you can patch, dropping inbound IPv6 fragments or disabling IPv6 are the main stopgaps.

What is wrong
When an IPv6 packet is split into fragments, the kernel’s connection tracking code reassembles it to decide which connection it belongs to. One value, the offset of the “Next Header” field, was stored in a variable that can only hold numbers up to 255. Larger offsets wrap around, and reassembly then overwrites the wrong byte in the packet’s header chain.
The result is a mismatch. Connection tracking, which your stateful firewall relies on, can record one destination while the kernel actually delivers the packet somewhere else. Published examples show a two-fragment packet that conntrack logs as UDP port 53 (DNS) being delivered to UDP port 9999. If your rules allow DNS but block port 9999, the attacker gets through anyway.
The upstream fix, described by Jérémy Jean of France’s cyber agency ANSSI, simply uses a larger integer type for the offset. It landed in mainline Linux 7.4-rc1 and was backported to the stable branches listed above.
How serious is it?
This is a firewall bypass, not remote code execution or an authentication bypass. The damage depends on what is listening behind the firewall. An internal database, admin panel or management service that you assumed was unreachable could suddenly be exposed. Red Hat’s critical rating reflects that it is reachable over the network with no login and no user interaction.
Who is affected
You are exposed only if all three of these are true:
- IPv6 is enabled on an interface that can be reached from outside.
- Connection tracking is active (it usually is if you use stateful iptables or nftables rules, firewalld or ufw).
- A stateful rule decides whether traffic can reach local services.
Reporting on the bug notes that Linux-based routers, firewalls, hypervisors and other edge devices could be affected, not just servers. Some cloud and VPS plans hand out a public IPv6 address by default, so check even if you never set IPv6 up yourself.
Patch status by distribution
According to a distribution check published on 4 December by ComputingForGeeks:
- RHEL 8 and AlmaLinux 8: fixed in kernel-4.18.0-553.193.1.el8_10.
- RHEL 6 (extended support): fixed in kernel-2.6.32-754.69.1.el6.
- Fedora 44 and 45: fixed by the move to 7.3.7 kernels.
- RHEL 7, 9 and 10, AlmaLinux 9 and 10, Rocky Linux 8 to 10: no fix found yet.
- Ubuntu 24.04 and 26.04, Debian 12 and 13: still vulnerable, no fixed packages found.
- SUSE SLE 15 SP7 and SLE 16: fix pending.
This changes quickly, so check your vendor’s security advisory for CVE-2026-139281 before deciding you are safe or unsafe.
How to check your servers
- Is IPv6 live? Run cat /proc/sys/net/ipv6/conf/all/disable_ipv6 (0 means enabled) and ip -6 addr show scope global to see public IPv6 addresses.
- Is connection tracking loaded? Run lsmod | grep -E ‘^nf_conntrack |^nf_defrag_ipv6’. On Ubuntu these may be built in, so check the kernel config file in /boot instead.
- Does your running kernel include the fix? On RHEL-family systems, search the running kernel’s changelog with rpm -q –changelog kernel-core-$(uname -r) | grep 139281. No output means it is not fixed.
- Patch and reboot. On RHEL-family systems with a fix available, sudo dnf upgrade –cve CVE-2026-139281 followed by a reboot. A kernel update does nothing until the machine restarts, so confirm afterwards with uname -r.
Stopgaps until a fix arrives
- Drop inbound IPv6 fragments with an nftables rule that runs before connection tracking. This can break some legitimate traffic, such as large DNS answers over UDP, some VPNs and some UDP syslog or SNMP, so test it first.
- Drop fragments at the network edge. If your perimeter firewall or router can filter IPv6 fragments, that protects the hosts behind it.
- Disable IPv6 on servers that do not need it. This is the only mitigation Red Hat lists, but it is blunt: it also affects the IPv6 loopback address and anything listening on IPv6.
What you should do
- List every Linux machine and appliance you run that has a public IPv6 address, including cloud VMs and VPS plans.
- Install the fixed kernel and reboot wherever your distribution has one; watch advisories for the rest.
- Where no patch exists, apply a fragment-drop rule or disable IPv6, and do not rely on the firewall alone to hide sensitive services. Bind admin panels and databases to private addresses and require authentication.
- Ask your hosting provider or IT vendor in writing whether their managed servers and firewalls are affected and when they will patch.
Sources
- CVE-2026-139281: Check and Patch the IPv6 Firewall Bypass – ComputingForGeeks
- CVE-2026-139281 – SecurityOnline
- Linux Kernel Flaw Lets Hackers Bypass Firewalls With IPv6 Packets – Cybernews
Featured image: Photo: “17° Server Room @ Work” by Leonardo Rizzi, CC BY-SA 2.0, via Openverse — source
Was this article helpful?
adminVerified expert
Cybersecurity Analyst
Federal Capital Territory (Abuja)
Credentials: MCPN, MNCS, IAENG | System Analyst · Web Developer · CEH · CC · CDST
Got expertise to share? Write for us →


