Skip to content
audiotale.net
Sign in
NewsNews

CVE-2026-139281: Linux conntrack IPv6 flaw bypasses firewalls, fix and workaround

A 20-year-old integer bug in Netfilter lets crafted IPv6 fragments slip past stateful firewall rules; here is who is affected, the fixed kernels and Red Hat's workaround.

audiotale.net team

· 7 min read

Written by AI from the sources linked below. How we use AI

A giant Tux, the Linux mascot, at Linux Day 2022 in Milan
Photo: User:Kowalski7cc, CC0, via Wikimedia Commons
On this page
  1. Key points
  2. What to do
  3. What happened
  4. Background
  5. How the vendors rate it
  6. What it means
  7. What we don't know yet
  8. What to watch next
  9. Sources

A flaw in the Linux kernel's Netfilter connection tracking, tracked as CVE-2026-139281 and rated critical by Red Hat (CVSS 9.1), lets a remote attacker send specially crafted IPv6 fragments that make the firewall record one destination port while the payload is delivered to another. The bug has been in the kernel since version 2.6.15 in January 2006, according to the CVE record as reported by BleepingComputer. Upstream fixes exist, but on 3 December 2026 Debian still lists its stable kernels as vulnerable and Ubuntu lists every supported release as vulnerable. Whether you are exposed depends on whether you run IPv6 and rely on connection-tracking firewall rules.

Key points

  • CVE-2026-139281 is a one-line integer truncation bug in nf_conntrack's IPv6 fragment reassembly, in the Linux kernel since 2.6.15 (January 2006).
  • Red Hat and cve.org score it 9.1 (CVSS 3.1, network, no privileges, no user interaction, high confidentiality and integrity impact). Ubuntu rates it medium, 6.9 on CVSS 4.0.
  • The flaw lets crafted IPv6 fragments bypass stateful firewall rules; the kernel developers' example is a packet logged as UDP port 53 but delivered to UDP port 9999.
  • BleepingComputer lists upstream fixes in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 and 7.4-rc1. Debian's tracker shows only unstable (7.3.6-1) as fixed so far.
  • Red Hat's only stated mitigation is disabling IPv6 on systems that do not need it.

What to do

Who is affected. Linux systems running a kernel with the Netfilter conntrack IPv6 reassembly code (the nf_conntrack path used by iptables, nftables and tools built on them) where firewall rules depend on connection tracking and the host accepts IPv6 traffic. Red Hat says the issue affects Red Hat Enterprise Linux. Debian lists 12 (bookworm) and 13 (trixie) as vulnerable. Ubuntu lists 16.04 LTS through 26.10 as vulnerable in its tracker, with 14.04 ignored as out of support.

The fix. Install your distribution's kernel update when it ships and reboot into it. The upstream stable versions that carry the fix, as reported by BleepingComputer, are 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 and 7.3.6. Distribution kernels carry their own version strings and backports, so compare against your vendor's advisory, not the upstream number. At the time of writing we could not find a fixed stable package from Debian (its trixie security build 6.12.118-1 and bookworm security build 6.1.192-3 are marked vulnerable) or Ubuntu.

Workaround. Red Hat's guidance is to disable IPv6 on systems that do not require it, following its knowledge-base article at access.redhat.com/solutions/8709. It warns that this removes all IPv6 connectivity from the machine, so apply it only where IPv6 is not used. We have not tested other mitigations and no source we read offers one.

How to check. Run uname -r to see your running kernel and compare it with your vendor's advisory. Run ip -6 addr to see whether the host has IPv6 addresses beyond link-local ones. A host with no routable IPv6 and IPv6 filtered upstream has less exposure, but the sources do not say how much, so treat that as unconfirmed.

What happened

On 3 December 2026 BleepingComputer reported the flaw, and Red Hat's CVE page, Debian's security tracker and Ubuntu's CVE page all carry the entry. The Ubuntu page shows a publication date of 30 November 2026.

The kernel's own description explains the mechanism. The function find_prev_fhdr() returns the offset of the Next Header field that sits before an IPv6 Fragment header, passing it back through an int pointer. Internally, though, it stored that offset in a u8, an unsigned 8-bit variable that can only hold values up to 255. An IPv6 packet can carry a long chain of extension headers that pushes this field beyond byte 255. When that happens the offset wraps around before it is saved in the fragment queue.

When fragments are later reassembled, the kernel uses the wrapped value to update the preceding Next Header field. That overwrites a different byte in the header chain. The result, in the words of the commit message, is that conntrack "can parse a different transport tuple from the one used by IPv6 local delivery". In plain terms, the firewall's connection table records one flow while the operating system delivers the packet as another.

The commit gives a concrete case: a two-fragment packet can be recorded as UDP destination port 53, the port used by DNS, while its payload is delivered to UDP port 9999. A rule that allows DNS traffic and blocks port 9999 would therefore pass a packet that reaches the blocked service.

The fix changes the local variable from u8 to int, matching the output argument and the other offset variables in that path. The diff touches one file, net/ipv6/netfilter/nf_conntrack_reasm.c, and changes a single line. The commit's trailer says it fixes the original commit that added the nf_conntrack subsystem, which is why the bug reaches back to 2006.

Background

Netfilter is the packet-filtering framework inside the Linux kernel. Firewall front ends such as iptables, nftables and many container and cloud networking tools sit on top of it. Connection tracking (conntrack) is the part that remembers which flows are established, so rules can say "allow replies to connections we started" or "allow DNS". When a rule depends on what conntrack believes a packet is, any mismatch between conntrack's view and what the stack finally delivers becomes a bypass.

IPv6 fragmentation is a long-standing source of this kind of mismatch. Unlike IPv4, IPv6 allows a chain of extension headers before the transport header, and a firewall must walk that chain to find the real protocol and ports. The flaw here is not a memory-corruption bug. It is a numeric conversion error, which Red Hat classifies as CWE-681, incorrect conversion between numeric types.

The timeline, from the sources, runs as follows. The kernel commit shows the patch authored on 22 August 2026 by Jérémy Jean and committed by Netfilter maintainer Pablo Neira Ayuso on 19 October 2026. BleepingComputer describes Jean as Deputy Head of the Cryptography Lab at France's ANSSI, the national cybersecurity agency, and says details were public in a kernel patch submission in August. The fix landed in the mainline kernel for 7.4-rc1, according to Debian's tracker. Ubuntu's page dates the CVE publication to 30 November, and the Red Hat record lists eight stable-tree commits.

One detail worth noting: the commit carries the trailer "Assisted-by: Codex:gpt-5", which indicates that an AI coding tool was used in the work. The sources do not say what role it played, whether in finding the bug or in preparing the patch, so we make no claim about it beyond the trailer.

How the vendors rate it

Source Score Scale Rating
Red Hat 9.1 CVSS 3.1 Critical
cve.org 9.1 CVSS 3.1 n/a
Ubuntu 6.9 CVSS 4.0 Medium

The two critical scores share the vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N: reachable over the network, low complexity, no privileges and no user interaction, with high impact on confidentiality and integrity and none on availability. NVD showed no score when Red Hat's page was fetched.

The gap between 9.1 and 6.9 is not only a matter of different scales, because CVSS 3.1 and 4.0 are calculated differently. Red Hat says its scores reflect how a flaw affects its own products and can differ from other vendors. BleepingComputer reports that Canonical judged the flaw to have no impact on data confidentiality and only a limited impact on system integrity. The vendors agree on the mechanism and disagree on how much it matters in practice. A reasonable reading is that the real risk depends on your deployment: a host that accepts IPv6 from the internet and relies on conntrack-based rules for isolation is more exposed than one behind an upstream filter.

What it means

For server and network administrators. The practical danger is a silent bypass: logs and counters can show a packet as permitted DNS while the payload reaches a service you meant to block. Check which hosts use stateful rules to protect internal services over IPv6, and prioritise those that are internet-facing.

For container and cloud operators. Many container networking stacks rely on Netfilter. We found no source that states which of those products are affected beyond the kernel itself, so check your host kernel version, since the flaw is in the kernel, not in the container runtime.

For distributions. The patch is a single line, and the upstream stable releases already carry it. The gap is in packaging: Debian's stable trees and every supported Ubuntu release were still marked vulnerable when we checked, so users are waiting on vendor kernels. That is normal for a kernel flaw, but a critical-rated remote bypass makes the wait uncomfortable.

On severity disagreement. Differences like Red Hat's 9.1 versus Ubuntu's 6.9 are common. They are a reminder to read the vector, not just the number.

What we don't know yet

  • Exploitation. None of the sources we read reports exploitation in the wild, and we found no public exploit. That could change.
  • Fixed distribution packages. We could not confirm fixed kernel package versions for Debian stable, Ubuntu or Red Hat Enterprise Linux. Red Hat's page, when fetched, listed a mitigation but no fixed package.
  • Exact exposure. The sources do not say whether a bypass works against rules that do not depend on conntrack state, or how it behaves with IPv6 filtering upstream.
  • Version list. The upstream fixed-version list comes from BleepingComputer; we did not independently verify each stable release.

What to watch next

  • Your distribution's kernel advisory, and the Debian and Ubuntu tracker pages for this CVE, which show when fixed packages appear.
  • Red Hat's page for an erratum number for your RHEL release.
  • Any report of exploitation or a public proof of concept.

Sources

Written by

audiotale.net team

The official account of the people who run audiotale.net: announcements, conversation starters and the newsroom's drafts. Posts written with AI say so. Every other account here is a real person.