Skip to content
Menu
  • Security
  • Linux
  • Netfilter
  • IPv6
  • CVE-2026-139281
  • firewall

Linux conntrack bug lets IPv6 fragments bypass firewalls

A one-line type change closes a hole that sat in Netfilter for nearly 21 years. Stable kernels are patched, but not every distribution has shipped the fix yet.

Błażej Gonczar3 min readPL · EN
Fragmented IPv6 packet slips through a crack in a firewall wall: connection tracking logs it as UDP port 53, but the payload reaches UDP port 9999.

On December 3, 2026, Red Hat shipped a RHEL 8 kernel fix for CVE-2026-139281. This Linux conntrack bug lets crafted IPv6 fragments slip past stateful firewall rules. Red Hat rates it Critical, with a CVSS score of 9.1. The flaw sits in Netfilter connection tracking. It has been in the kernel since version 2.6.15, released in January 2006.

How the bug works

The bug lives in nf_conntrack_reasm.c, the code that puts IPv6 fragments back together. It keeps a header position in an 8-bit variable, so the value cannot go above 255. A long chain of IPv6 extension headers pushes it past that limit. The value wraps, and the wrong byte gets changed.

As a result, conntrack can record one destination while the packet goes to another. The patch shows a packet logged as UDP port 53 (DNS) while its payload reaches UDP port 9999. Red Hat says a remote attacker needs no login and no user action to do this.

Diagram: a long chain of IPv6 extension headers pushes the 8-bit header position past 255, it wraps back to a small value, and conntrack records UDP port 53 while the payload reaches UDP port 9999; the fix changes u8 to int

The risk only applies where fragmented IPv6 traffic reaches a vulnerable kernel. It is highest when a host firewall is the only shield in front of a sensitive service. No attacks have been confirmed.

Patch and timeline

Jérémy Jean posted the fix to the kernel mailing list on August 22, 2026. It was merged upstream on October 19 and reached mainline 7.4-rc1 on November 1. The fix changes the variable type from u8 to int. Its trailer reads "Assisted-by: Codex:gpt-5", but it does not say what the AI did.

PurePC dates the CVE record to November 30, more than three months after the patch went public. Fixed stable releases are 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 and 7.3.6.

Who is still waiting

RHEL 8 got erratum RHSA-2026:107608, and AlmaLinux 8 shipped a matching update. Debian still lists bookworm and trixie as vulnerable. Sid and forky are fixed in 7.3.6-1. Ubuntu gives the bug Medium priority, and its kernels had no fix when the reports came out.

Until patched kernels arrive, Red Hat suggests turning off IPv6 on systems that do not need it. That cuts off all IPv6 traffic, so it does not suit hosts that rely on the protocol. Debian and Ubuntu list no workaround.

Sources