21-Year-Old Linux Kernel Flaw Lets Crafted IPv6 Packets Slip Past Firewall Rules

CVE-2026-139281, a Linux conntrack bug dating to 2006, lets crafted IPv6 fragments slip past firewall rules. Red Hat has shipped a RHEL 8 fix as other distros lag.
Terminal window on a blurred server room background showing uname, nft list ruleset, sysctl IPv6 disable and dnf kernel update commands above a yellow CVE-2026-139281 Linux IPv6 firewall bypass label

A one-line bug in the Linux kernel’s firewall plumbing has been sitting in the code for almost 21 years, and it can let a remote attacker send traffic past IPv6 firewall rules without logging in. The flaw, tracked as CVE-2026-139281, sits in Netfilter’s connection tracking (conntrack) code and was introduced in Linux 2.6.15, released in January 2006.

The Linux kernel CVE team published the CVE on November 30, 2026, with a CVSS 3.1 score of 9.1. Red Hat rates it Critical and shipped its first fixed kernel on December 3. Other major distributions were still listed as vulnerable at time of publication. There are no public reports of the flaw being exploited, and it is not in CISA’s Known Exploited Vulnerabilities catalog.

What conntrack does, and why this bug matters

Netfilter is the packet filtering framework behind nftables, iptables and ip6tables, and behind higher-level tools such as firewalld and ufw that sit on top of them. Its connection tracking layer keeps a record of each flow, including the protocol and port a packet is headed for. Stateful firewall rules, such as “allow established connections” or “allow inbound DNS on UDP port 53,” lean on that record to decide what gets through.

IPv6 complicates this. A single IPv6 packet can carry a chain of extension headers before the real transport header, and large packets can be split into fragments. Before conntrack can classify an IPv6 packet, the kernel’s nf_defrag_ipv6 code has to put those fragments back together. CVE-2026-139281 lives in that reassembly path, in the file net/ipv6/netfilter/nf_conntrack_reasm.c.

A u8 that should have been an int

The bug comes down to a variable type. According to the patch posted to the kernel networking list, a helper called find_prev_fhdr() works out where the Next Header field sits just before the IPv6 Fragment header. It hands that position back through an int pointer, but it stores the working value in a u8, an 8-bit number that can only count to 255.

An attacker can build an extension header chain long enough to push that field past byte 255. The offset then wraps around to a small number before it is saved. When the kernel later reassembles the packet, it uses the wrapped value to rewrite what it thinks is the preceding Next Header field. Instead, it overwrites a different byte in the IPv6 header chain.

The result is a split view of the same packet. Conntrack parses one transport header and records that flow, while the normal IPv6 delivery path follows the real chain and hands the payload to a different one. The kernel developers gave a concrete example: a 2-fragment packet can be recorded as traffic to UDP port 53 while its payload is actually delivered to UDP port 9999.

The fix changes 1 line, turning u8 prev_nhoff into int prev_nhoff so the offset can no longer wrap.

What an attacker gets, and what they do not

The CVE record spells out the attack conditions in unusual detail. The attacker only needs to send IPv6 fragments to the target over a routable network. No account, credentials or user action is needed, because the kernel reassembles fragments before any filtering or socket lookup happens. The one precondition is that IPv6 defragmentation for conntrack is active, which the record notes is the case whenever conntrack-based IPv6 filtering is in use.

Once that happens, the attacker controls what the firewall sees and what the host actually delivers. A rule that allows only DNS, for example, could be used to reach a service on another port that the administrator meant to keep closed. That is why the kernel CNA scored confidentiality and integrity impact as High: locally firewalled UDP and TCP listeners, and the data they serve, become reachable.

It is not a crash or code execution bug. The record says the stray write lands inside the packet’s own headers, with no memory corruption outside the packet and no kernel oops, hang or leak. Any further damage depends on what is listening behind the firewall and how well that service is protected on its own.

Vendors do not agree on how bad it is

Severity ratings for CVE-2026-139281 vary widely:

  • Linux kernel CNA: CVSS 3.1 score of 9.1, Critical (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).
  • Red Hat: Critical, 9.1. Its CVE page says “an unauthenticated remote attacker can bypass stateful firewall rules across Red Hat Enterprise Linux systems without requiring privileges or user interaction.”
  • Ubuntu: Medium priority, with a CVSS 4.0 score of 6.9. Canonical scores no confidentiality impact and only low integrity impact.

The gap mostly comes down to whether reaching a service that a firewall was supposed to block counts as a direct data exposure. Admins who rely on host firewalls to hide internal services on IPv6-reachable machines should treat it closer to the higher rating.

Public since August, a CVE in November

The fix was not a secret. Jérémy Jean sent the patch to the Netfilter maintainers and the netdev list on August 22, 2026, from an address at France’s national cybersecurity agency, ANSSI. The patch tags the original 2006 commit that added the nf_conntrack subsystem as the source of the bug, and it carries an Assisted-by: Codex:gpt-5 line, which shows an AI coding assistant helped with the work.

The fix landed in the mainline kernel for 7.4-rc1. The CVE itself was only assigned and published on November 30, more than 3 months after the patch and its detailed description were public. That patch text explains the bug and its port 53 example clearly enough for a skilled attacker to start building packets.

Fixed kernel versions and distribution status

Upstream, the bug is fixed in these stable kernels and later:

  • 5.10.275
  • 5.15.226
  • 6.1.193
  • 6.6.163
  • 6.12.119
  • 6.18.65
  • 7.3.6
  • 7.4-rc1

Distribution status as of December 3, 2026:

  • Red Hat: RHSA-2026:107608, rated Critical, updates Red Hat Enterprise Linux 8 to kernel-4.18.0-553.193.1.el8_10. Red Hat still lists RHEL 6, 7, 9 and 10, the real-time kernels, RHEL for NVIDIA and OpenShift Container Platform 4 and 5 as affected.
  • Debian: The security tracker lists Debian 12 (Bookworm) and Debian 13 (Trixie) as vulnerable, including their security kernels. Unstable and Forky are fixed in 7.3.6-1.
  • Ubuntu: The CVE tracker lists every supported release from 16.04 LTS through 26.10 as vulnerable.

How to reduce exposure until patches land

Install a fixed kernel and reboot as soon as your distribution ships one. Check the running version with uname -r, since a new kernel package does nothing until the machine restarts into it.

For systems that cannot be patched yet, Red Hat says the remote attack can be mitigated by disabling IPv6, and it points to its guide to disabling IPv6 on RHEL. That cuts off all IPv6 connectivity, so it only makes sense on machines that do not need it.

Other practical steps:

  • List which hosts are reachable over IPv6 from untrusted networks and rely on conntrack-based rules to hide internal services.
  • Do not treat a host firewall as the only control in front of sensitive services. Bind internal services to the interfaces that need them, and require authentication on anything that listens.
  • Review edge filtering for IPv6 fragments, since the attack depends on crafted fragments reaching the host.
  • Track your vendor’s advisory page, because many Linux appliances and container hosts run kernels that update on their own schedule.

Part of a busy run of Linux kernel flaws

CVE-2026-139281 is the latest in a string of serious Linux kernel bugs this fall. BreachNews has covered NFS2ROOT, a pre-authentication root bug in the kernel NFS server, a kernel TCP flaw that could lead to remote root, and an OpenAI cyber model that built 948 working Linux root exploits. This one does not hand over root, but it quietly breaks the assumption that a firewall rule means what it says.

Picture of m00s3c

m00s3c

Moose (@m00s3c) is the author of BreachNews, focusing on data breach intelligence, dark web monitoring, and threat analysis. His work involves analyzing breach claims, reviewing leaked datasets, and tracking threat actor activity to provide clear, factual reporting.

Latest News

Support independent news.

Every donation goes straight toward keeping this site fast, ad-free, and on top of the breaches that matter.

Thanks for reading.

Support the site