For twenty-one years, a Linux firewall rule that trusts connection tracking could be shown a different packet from the one the kernel actually delivered. The cause is a single variable declared one byte wide when it needed to hold numbers larger than 255.
CVE-2026-139281 is a Linux kernel flaw in netfilter connection tracking, present since Linux 2.6.15 (January 2006) and fixed in 7.3.6, 6.18.65, 6.12.119 and other stable kernels, that lets an unauthenticated attacker send crafted IPv6 fragments past stateful firewall rules. The kernel’s CVE team published it on 30 November 2026, and it reached mainstream security news on 3 December when BleepingComputer reported Red Hat’s critical 9.1 rating. Patch your kernels, and where you cannot, Red Hat says to disable IPv6.
- What is CVE-2026-139281?
- When was CVE-2026-139281 disclosed?
- How does the IPv6 firewall bypass work?
- Who found it, and where does AI come in?
- Timeline
- Who is affected by CVE-2026-139281?
- Why do the severity scores differ?
- How do you detect exploitation attempts?
- How to mitigate CVE-2026-139281
- How does it compare to other recent Linux kernel bugs?
- It is not magic: the limits of this bug
- Open questions
- The bottom line
- Sources
What is CVE-2026-139281?
CVE-2026-139281 is an integer truncation bug in net/ipv6/netfilter/nf_conntrack_reasm.c, the part of the Linux kernel that reassembles fragmented IPv6 packets so that connection tracking can inspect them. Integer truncation means a value is stored in a variable too small to hold it, so the high bits are silently dropped.
Connection tracking, usually shortened to conntrack, is the netfilter component that remembers which flows a host has seen. Rules such as “allow established connections” or “allow new UDP to port 53 only” in iptables and nftables depend on it. If conntrack misreads a packet, every rule built on its view is judging the wrong thing.
Key facts at a glance
| Item | Detail |
|---|---|
| CVE | CVE-2026-139281 |
| Component | Linux kernel netfilter, IPv6 conntrack reassembly |
| File and function | nf_conntrack_reasm.c, find_prev_fhdr() |
| Bug class | Incorrect conversion between numeric types (CWE-681, per Red Hat) |
| Introduced | Commit 9fb9cbb1082d, 10 November 2005, first in Linux 2.6.15 |
| Fixed upstream | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 |
| CVE published | 30 November 2026 by the Linux kernel CNA |
| Severity | CVSS 3.1 9.1 (CVE record, Red Hat); CVSS 4.0 6.9 (Ubuntu) |
| Attacker needs | Ability to send IPv6 packets to the host; no credentials |
| Exploited in the wild | None reported; not in CISA KEV as of 3 December 2026 |
When was CVE-2026-139281 disclosed?
The CVE record shows it was reserved and published by the Linux kernel’s CVE numbering authority on 30 November 2026. Ubuntu’s page carries the same publication date. BleepingComputer first covered it on 3 December 2026, the same day Red Hat’s critical rating drew attention.
The fix itself is older than the CVE. Jeremy Jean posted the one-line patch to the netdev mailing list on 22 August 2026, addressed to netfilter maintainers Pablo Neira Ayuso and Florian Westphal. The patch email describes the bug in technical terms but does not call it a security issue. Kernel git history shows the commit was merged on 19 October 2026, and the CVE followed six weeks later.
That gap is normal for the kernel. Its CVE team assigns identifiers to fixes after they land, so the patch is often public long before anyone labels it a vulnerability. For defenders, the practical clock started on 30 November.
How does the IPv6 firewall bypass work?
The kernel fix commit, 48d522b65fb0, explains the mechanism in a few lines. This section walks through it at a conceptual level, without packet layouts.
IPv6 extension headers and fragments
An IPv6 packet can carry a chain of extension headers between the main header and the transport header (TCP or UDP). Each header has a Next Header field naming what comes after it. When a packet is fragmented, a Fragment header joins that chain, and the receiver must reassemble the pieces before it can read the TCP or UDP ports.
Conntrack does its own reassembly so it can classify the full packet. During that step, the function find_prev_fhdr() finds the Next Header field that sits just before the Fragment header and records where it is, so reassembly can later rewrite it.
The one-byte mistake
find_prev_fhdr() returns that position through an int pointer, but the caller stored it in a local variable of type u8, which can only hold values from 0 to 255. With a long enough chain of extension headers, the Next Header field sits beyond byte 255. The value wraps around, and the wrong position is saved.
Later, reassembly uses the wrapped position to update the Next Header field. It overwrites a different byte in the header chain instead. From then on, conntrack and the normal IPv6 delivery path disagree about what the packet is.
Two views of one packet
The commit gives a concrete example: a two-fragment packet that conntrack records as UDP destination port 53 while the payload is delivered to UDP port 9999. A rule that allows DNS but blocks everything else sees DNS. The service on port 9999 receives the data anyway.
The fix changes the local variable from u8 to int, matching the other offset variables in that code path. It is a one-line diff.
Who found it, and where does AI come in?
The patch was written by Jeremy Jean, sent from a cyber.gouv.fr address. BleepingComputer identifies him as deputy head of the cryptography lab at ANSSI, France’s national cybersecurity agency. He is also the ANSSI researcher credited with an early fix for NFS2ROOT, covered in our NFS2ROOT CVE-2026-99362 breakdown.
The commit carries the tag Assisted-by: Codex:gpt-5, the kernel convention for disclosing AI help. The sources do not say how much of the discovery the model did, only that it assisted. It joins a run of 2026 kernel bugs found with machine help, a trend we tracked in how AI is turning patches into exploits.
Timeline
| Date | Event | Source |
|---|---|---|
| 10 Nov 2005 | nf_conntrack subsystem added (commit 9fb9cbb1082d) | Kernel git |
| Jan 2006 | First released in Linux 2.6.15 | CVE record via BleepingComputer |
| 22 Aug 2026 | Fix posted to netdev by Jeremy Jean | Openwall netdev archive |
| 19 Oct 2026 | Fix committed upstream | Kernel git |
| 30 Nov 2026 | CVE-2026-139281 published by the kernel CNA | CVE record, Ubuntu |
| 3 Dec 2026 | Red Hat rates it critical, news coverage begins | Red Hat, BleepingComputer |
Who is affected by CVE-2026-139281?
Any Linux system running a kernel from 2.6.15 up to the fixed stable releases is technically vulnerable. Real exposure needs three conditions together.
- IPv6 reaches the host. The attack uses IPv6 fragments. Hosts with IPv6 disabled, or behind equipment that drops IPv6, are not reachable through this path.
- IPv6 conntrack is in use. The CyberSec Guru analysis notes the bug only matters when the
nf_defrag_ipv6module is active, which happens when IPv6 rules use connection tracking. - A stateful rule protects something. The impact is a service that the firewall was meant to hide becoming reachable. If nothing sensitive listens behind the rule, there is nothing to reach.
The commit describes the mismatch in terms of IPv6 local delivery, meaning packets addressed to the host itself. Cloud VMs, bastion hosts and servers that rely on a host firewall to hide admin ports are the clearest examples.
Distribution status on 3 December 2026
| Distribution | Rating | Status |
|---|---|---|
| Red Hat | Critical, CVSS 3.1 9.1 | Mitigation published; The CyberSec Guru reports an RHEL 8 fix (RHSA-2026:107608) and RHEL 9 and 10 still affected |
| Ubuntu | Medium, CVSS 4.0 6.9 | All supported releases from 16.04 to 26.10 listed as vulnerable, no fixed packages yet |
| Debian | Not rated on tracker | Bookworm (6.1.192-3) and Trixie (6.12.118-1) vulnerable; Forky 7.3.6-1 and Sid 7.3.7-1 fixed |
How to check your exposure
- Compare
uname -rwith your distribution’s advisory, not only with upstream version numbers, since vendors backport fixes under their own numbering. - Check whether
nf_defrag_ipv6is loaded withlsmod. - List IPv6 rules that use connection state (
ct statein nftables,-m conntrackor-m statein ip6tables). - Confirm whether the host has a routable IPv6 address that untrusted networks can reach.
Why do the severity scores differ?
The CVE record and Red Hat use CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, which scores 9.1. That treats a firewall bypass as a path to high confidentiality and integrity impact. Ubuntu’s CVSS 4.0 assessment rates confidentiality impact as none and integrity as low, for 6.9 and a medium priority.
Both views are defensible. The bug itself only changes which rule a packet matches. The real damage depends on what sits behind that rule. A host that exposes a database port only through a stateful rule faces something close to Red Hat’s score, while a host with nothing hidden faces close to Ubuntu’s.
How do you detect exploitation attempts?
No public indicators of compromise exist, because no exploitation has been reported. Detection has to focus on the unusual traffic the bug needs.
Network signals
- IPv6 fragments with long extension-header chains. Legitimate traffic rarely carries header chains long enough to push a field past byte 255. A network IDS or packet capture that counts total extension-header length in first fragments can flag them.
- Small fragmented UDP or TCP to hosts that normally get none. Most modern IPv6 applications avoid fragmentation. Fragmented packets to servers are worth sampling.
- Fragments whose first piece carries the whole header chain plus a destination option. RFC 8200 requires the first fragment to hold the full chain, so that is where the oversized chain will appear.
Host signals
- Connections to services that your firewall policy says should be unreachable over IPv6. Compare application access logs with the source addresses your rules allow.
- Mismatches between conntrack entries (
conntrack -L -f ipv6) and listening sockets in use. A flow tracked as port 53 while a different service logs a new IPv6 client is the signature of this bug.
ATT&CK mapping
The sources do not publish ATT&CK mappings. The closest techniques for defenders building detections are T1599 (Network Boundary Bridging) for the bypass and T1190 (Exploit Public-Facing Application) for whatever an attacker reaches next.
How to mitigate CVE-2026-139281
- Install fixed kernels and reboot. Upstream fixes are in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 and 7.3.6. Use your vendor’s package, then confirm the running kernel changed.
- Disable IPv6 where you do not need it. Red Hat’s stated mitigation is to turn IPv6 off, and it warns this removes all IPv6 connectivity on the host.
- Drop IPv6 fragments at the edge where you can. The CyberSec Guru lists this as a workaround. Test first, because some protocols, such as large DNS responses, may rely on fragmentation.
- Stop relying on one stateful rule. Bind admin services to loopback or a management interface, and require authentication on anything a firewall rule hides.
- Prioritise internet-facing hosts with IPv6 addresses. Cloud instances with public IPv6 and hosts that use the firewall to hide internal services come first.
How does it compare to other recent Linux kernel bugs?
| CVE-2026-139281 | NFS2ROOT (CVE-2026-99362) | |
|---|---|---|
| Component | netfilter IPv6 conntrack | nfsd NFSv4.1 sessions |
| Bug age | 21 years (2005) | 12 years (2014) |
| Impact | Firewall rule bypass | Kernel heap overflow, possible root |
| Precondition | IPv6 conntrack rules in use | nfsd with NFSv4.1 or 4.2 |
| Score | 9.1 (CNA, Red Hat), 6.9 (Ubuntu) | 9.8 (CNA, Ubuntu), 9.4 (Red Hat) |
| ANSSI’s Jeremy Jean involved | Yes, wrote the fix | Yes, sent an early fix |
NFS2ROOT is the more dangerous bug on hosts that run an NFS server, since it can give root. CVE-2026-139281 is broader but shallower: it touches far more machines and gives the attacker access, not control. Both show how much decades-old kernel code is now being re-read, often with AI help. For a local-access counterpart, see our USB2Shell CVE-2026-98232 explainer.
It is not magic: the limits of this bug
- It only changes rule matching. An attacker reaches a service they should not see, but still has to attack that service. Strong authentication on that service still stops them.
- It needs IPv6 end to end. Many networks still filter or do not route IPv6 to servers.
- It needs IPv6 conntrack. Hosts with no stateful IPv6 rules have nothing to bypass.
- Stateless filtering in front still works. A network firewall that drops traffic to the hidden port by address and port, without trusting the host’s conntrack, is unaffected by this kernel bug.
Open questions
- Forwarded traffic. The commit speaks of local delivery. None of the sources say whether Linux routers and firewalls that forward IPv6 traffic for other hosts can be bypassed the same way.
- Discovery process. The
Assisted-bytag confirms AI help but not its extent, or whether other bugs came from the same review. - Distribution timing. Ubuntu and parts of Red Hat had no fixed packages on 3 December, and the CVE-to-patch gap for those users is still open.
- Public trigger code. No proof-of-concept had been published in the sources reviewed, but the commit message describes the trigger clearly.
The bottom line
CVE-2026-139281 lets crafted IPv6 fragments reach services that a Linux stateful firewall rule was supposed to hide, and it has done so since 2006. It does not give code execution, but it removes a layer many servers lean on. Patch kernels on hosts with reachable IPv6 first, and if a patch is not yet available, disable IPv6 or make sure the hidden services do not depend on the firewall alone.
Sources
- CVE record: CVE-2026-139281 (CVE Project cvelistV5)
- OSV: CVE-2026-139281
- Linux kernel fix commit 48d522b65fb0
- Openwall netdev archive: the original patch, 22 August 2026
- Red Hat: CVE-2026-139281
- Ubuntu: CVE-2026-139281
- Debian security tracker: CVE-2026-139281
- BleepingComputer: Critical 21-year-old Linux flaw lets hackers bypass IPv6 firewall rules
- The CyberSec Guru: CVE-2026-139281, 21-year Linux IPv6 firewall bypass explained
- CISA Known Exploited Vulnerabilities catalog
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.