SecPod

Learn Search

Search across all Learn content

← Back to Security Research
CVE-2026-139281: 21-Year-Old Linux Netfilter Flaw Bypasses IPv6 Firewalls

CVE-2026-139281: 21-Year-Old Linux Netfilter Flaw Bypasses IPv6 Firewalls

Dec 4, 2026By Pranav M Rao5 min read

Overview

A security flaw hidden in the Linux kernel for almost 21 years can allow a remote, unauthenticated attacker to bypass stateful firewall rules using specially crafted IPv6 packet fragments. Tracked as CVE-2026-139281, the vulnerability affects the Netfilter connection-tracking subsystem and carries a CVSS 3.1 score of 9.1, Critical.

The flaw causes Linux connection tracking, commonly called conntrack, to record a different network destination from the one used when the kernel finally delivers the reassembled packet. A stateful firewall may therefore approve traffic based on an apparently permitted destination port while the packet payload reaches a different, restricted service.

Exploitation requires fragmented IPv6 traffic to reach a vulnerable system with the affected IPv6 connection-tracking path active. No authentication, existing privileges or user interaction is required. No confirmed exploitation in the wild, public weaponized exploit, associated malware campaign or threat-actor attribution had been reported at the time of publication.

Technical details, affected upstream branches and the corresponding correction commits are documented in the official Linux kernel CVE record.

Background

Netfilter and Connection Tracking

Netfilter is the Linux kernel framework responsible for packet filtering, network address translation and related networking controls. Firewall technologies such as iptables and nftables can use Netfilter's connection-tracking subsystem to determine whether a packet belongs to a new, established or related connection.

Connection tracking records network-flow information such as source and destination addresses, protocol details and transport-layer ports. Stateful firewall rules then use this information to decide whether traffic should be accepted, rejected or dropped.

IPv6 Fragmentation

IPv6 packets can contain multiple extension headers. When fragmentation is necessary, the source node divides the packet into fragments, which are reassembled by the receiving system. Intermediate IPv6 routers do not perform fragmentation.

Before conntrack can classify fragmented IPv6 traffic, the receiving Linux system must reassemble the fragments and interpret the resulting extension-header chain. CVE-2026-139281 affects this connection-tracking reassembly path.

The vulnerable code has existed since Linux kernel 2.6.15, released in January 2006. The issue is located in net/ipv6/netfilter/nf_conntrack_reasm.c and results from storing an IPv6 header offset in a data type too small to represent values above 255.

Vulnerability Details

CVE ID Component Weakness CVSS Attack Requirements Impact CISA KEV
CVE-2026-139281 Linux kernel Netfilter IPv6 conntrack reassembly CWE-681: Incorrect Conversion Between Numeric Types 9.1, Critical Remote, unauthenticated access through crafted fragmented IPv6 traffic Stateful firewall bypass and potential access to restricted network services Not listed at the time of publication
Severity assessment differences

The Linux kernel CVE team and Red Hat assign CVE-2026-139281 a CVSS 3.1 score of 9.1, Critical. Ubuntu assigns the vulnerability a CVSS 4.0 score of 6.9, Medium. These ratings reflect different scoring versions and vendor-specific assessments and are therefore not directly interchangeable.

Attack Vector Network
Privileges Required None
User Interaction None
Known Exploitation Not confirmed

Affected Linux Kernel Versions

The vulnerability originated in Linux kernel 2.6.15. The following table lists the maintained upstream kernel branches for which corrected stable releases have been identified.

Upstream Kernel Branch First Fixed Release Status
5.10 5.10.275 Versions in this branch before 5.10.275 are affected.
5.15 5.15.226 Versions in this branch before 5.15.226 are affected.
6.1 6.1.193 Versions in this branch before 6.1.193 are affected.
6.6 6.6.163 Versions in this branch before 6.6.163 are affected.
6.12 6.12.119 Versions in this branch before 6.12.119 are affected.
6.18 6.18.65 Versions in this branch before 6.18.65 are affected.
7.3 7.3.6 Versions in this branch before 7.3.6 are affected.
Mainline 7.4-rc1 The upstream correction was included in the 7.4 release-candidate branch.
Unsupported and distribution kernels

Older or unsupported upstream branches require migration to a supported kernel or a vendor-supported backport containing the correction. Linux distributions frequently backport security fixes without adopting the corresponding upstream version number, so administrators must verify the package status published by their distribution.

Exposure condition

A vulnerable kernel version alone does not prove that the remote attack path is reachable. Exposure depends on crafted fragmented IPv6 traffic reaching the host and the affected IPv6 connection-tracking and reassembly path being active.

How CVE-2026-139281 Works

IPv6 Extension-Header Processing

An IPv6 packet can contain a chain of extension headers before its transport-layer header. The vulnerable find_prev_fhdr() function locates the Next Header field appearing before an IPv6 Fragment header.

Offset Truncation

Although the function returns the position through an integer pointer, the working offset was stored locally as an unsigned 8-bit value. This data type can represent only values from 0 through 255.

A sufficiently long IPv6 extension-header chain can place the relevant field beyond byte 255. When the larger integer position is stored in the eight-bit variable, the value wraps to an incorrect lower offset.

Incorrect Header Modification

During fragment reassembly, the kernel uses the wrapped offset to update what it believes is the preceding Next Header field. Because the stored position is incorrect, another byte in the IPv6 extension-header chain is overwritten.

Connection-Tracking Mismatch

The modified header chain can cause conntrack to classify the packet using one transport tuple while normal IPv6 local delivery uses another. The upstream example demonstrates a two-fragment packet recorded as traffic to UDP port 53 while its payload is delivered to UDP port 9999.

Stateful Firewall Bypass

If a stateful firewall permits the destination recorded by conntrack but blocks the destination used during final packet delivery, the crafted packet may reach a service that the firewall policy was intended to protect.

Indicators of Compromise (IOCs)

No campaign-specific IP addresses, domains, URLs, file hashes or malware artifacts have been publicly associated with CVE-2026-139281. The vulnerability is a packet-processing and firewall-bypass issue, so conventional file-based IOCs are not expected unless exploitation is followed by a separate attack against the newly reachable service.

Unusual fragmented IPv6 traffic, abnormally long IPv6 extension-header chains and unexpected connections to services protected by host-based firewall rules should be treated as investigation leads rather than confirmed indicators of exploitation.

MITRE ATT&CK Mapping

No confirmed exploitation or documented attacker procedures have been reported for CVE-2026-139281; therefore, no observed MITRE ATT&CK techniques can be reliably mapped.

Hypothetical Attack Flow

This diagram illustrates the vulnerability mechanism and a plausible exploitation sequence. It does not represent a confirmed attack campaign.
1 IPv6-Reachable Linux Host

A vulnerable host uses Netfilter connection tracking and stateful firewall rules to restrict access to local services.

↓
2 Crafted Fragmented IPv6 Traffic

The source sends IPv6 fragments containing a long extension-header chain that places the relevant offset beyond byte 255.

↓
3 Eight-Bit Offset Wraparound

The vulnerable working variable truncates the actual header position and stores an incorrect lower offset.

↓
4 Incorrect Fragment Reassembly

The receiving kernel overwrites the wrong byte while reassembling the fragmented IPv6 packet.

↓
5 Conntrack and Local Delivery Disagree

The firewall evaluates one transport destination while the local networking stack delivers the payload to another.

↓
6 Restricted Service Reached

The crafted traffic may bypass the intended stateful firewall restriction and reach a protected service.

Detection and Investigation Considerations

  • Inventory running kernels: Record the active kernel using uname -r and compare the installed package with the applicable distribution advisory.
  • Confirm IPv6 exposure: Identify internet-facing or untrusted-network interfaces that accept IPv6 traffic.
  • Review firewall dependence: Prioritize systems where host-based Netfilter rules are the primary control protecting sensitive local services.
  • Inspect fragmented IPv6 traffic: Monitor for unusual volumes of IPv6 fragments, oversized extension-header chains or repeated fragmented probes against protected hosts.
  • Compare firewall and service logs: Investigate connections accepted by restricted services when firewall records do not contain matching permitted destination traffic.
  • Review follow-on activity: If an unexpected connection reached a protected service, examine authentication records, application logs, process execution and persistence activity.

Vulnerability Timeline

Date Event
January 2006 The vulnerable connection-tracking behavior was introduced with Linux kernel 2.6.15.
August 22, 2026 The correction was submitted to the Linux kernel mailing list.
October 19, 2026 The correction was merged into the upstream Linux kernel development tree.
November 1, 2026 The upstream correction appeared in Linux 7.4-rc1.
November 23, 2026 Corrected upstream stable kernels, including Linux 5.10.275 and 6.12.119, were released.
November 30, 2026 CVE-2026-139281 was publicly assigned and published.
December 2026 Linux distributions continued publishing security assessments and distribution-specific kernel updates.

Risk Assessment

Potential Impact Critical

Firewall bypass may expose sensitive services that administrators intended to isolate.

Exploit Preconditions Environment-Dependent

Crafted fragmented IPv6 traffic must reach the vulnerable conntrack reassembly path.

Exploit Maturity No confirmed weaponization

Technical details and kernel corrections are public, but active exploitation has not been confirmed.

Remediation Priority Urgent for exposed systems

Prioritize IPv6-reachable hosts protecting sensitive services through stateful firewall rules.

Mitigation and Recommended Actions

  • Check the distribution advisory: Determine whether the installed distribution kernel contains a vendor-supported backport. Do not rely solely on the upstream kernel version displayed by uname -r.
  • Install the vendor-provided kernel update: Apply the corrected package supplied by the relevant Linux distribution or appliance vendor.
  • Reboot into the corrected kernel: Installing a kernel package does not protect a system that continues running the older vulnerable kernel. Confirm the active kernel after reboot.
  • Use a supported upstream branch: Fixed upstream releases include 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 and 7.3.6.
  • Migrate unsupported kernels: Systems on unsupported branches should be migrated to a supported release or receive a vendor-supported backport containing the correction.
  • Do not assume upstream availability means the distribution is patched: Distribution package timelines differ. At the time the referenced assessments were reviewed, Debian 12 and Debian 13 still required corrected security packages, while fixed upstream kernels were already available.
  • Disable IPv6 only when operationally acceptable: Red Hat identifies disabling IPv6 as a temporary mitigation for systems that do not require it. This removes all IPv6 connectivity and should be tested before deployment.
  • Restrict IPv6 traffic upstream: Where immediate patching is impossible, use unaffected upstream network controls to limit untrusted IPv6 traffic and access to protected services.
  • Review exposed services: Identify services that depend solely on the affected host firewall for isolation and add network segmentation or service-level access controls.
  • Verify remediation: Confirm that every physical host, virtual machine, container host, appliance and cloud image has booted into a kernel containing the correction.

Administrators should consult the Red Hat assessment, the Ubuntu security assessment, the Debian Linux package tracker, and the advisory issued by the applicable Linux distribution.

Key Takeaways

  • CVE-2026-139281 is a Linux Netfilter firewall-bypass vulnerability rated 9.1, Critical, by the Linux kernel CVE team and Red Hat.
  • The flaw can be triggered remotely without authentication, existing privileges or user interaction.
  • Exploitation requires crafted fragmented IPv6 traffic to reach the vulnerable conntrack reassembly path.
  • The vulnerability can cause conntrack to evaluate a different destination from the one used during final packet delivery.
  • Upstream fixes are available, but distribution-specific package status must be verified independently.
  • Unsupported kernel branches require migration or a vendor-supported security backport.
  • No confirmed exploitation, malware campaign or threat-actor attribution has been publicly reported.
  • Organizations should install the applicable kernel update, reboot and verify that the corrected kernel is running.

Instantly Fix Risks in Endpoints & Cloud with Saner

Saner is a continuous and integrated vulnerability and exposure management platform that identifies vulnerable assets, prioritizes security risks and helps remediate affected endpoints and cloud workloads.

Schedule a Demo

Featured Posts

Open Critical vBulletin RCE Vulnerability Exposes Forum Servers to Remote Attacks
threat intelligenceCritical vBulletin RCE Vulnerability Exposes Forum Servers to Remote Attacks

CVE Research

Critical vBulletin RCE Vulnerability Exposes Forum Servers to Remote Attacks

A critical vulnerability in vBulletin, tracked as CVE-2026-137330 and dubbed vBulletin2Shell, enables unauthenticated remote code execution through insecure PHP deserialization. With a public proof-of-concept now available, unpatched self-hosted forum servers face an increased risk of compromise and sensitive data exposure.

Dec 4, 2026

Open December 2026 Veeam Security Updates: 16 Vulnerabilities Expose Backup Infrastructure to Server Takeover and Credential Compromise
December 2026 Veeam Security Updates: 16 Vulnerabilities Expose Backup Infrastructure to Server Takeover and Credential Compromise

CVE Research

December 2026 Veeam Security Updates: 16 Vulnerabilities Expose Backup Infrastructure to Server Takeover and Credential Compromise

Dec 4, 2026

Open Django4Shell: How a Staff Login and GeoDjango RasterField Can Lead to Code Execution
vulnerability researchDjango4Shell: How a Staff Login and GeoDjango RasterField Can Lead to Code Execution

CVE Research

Django4Shell: How a Staff Login and GeoDjango RasterField Can Lead to Code Execution

CVE-2026-124827 lets a staff user write files via GeoDjango RasterField, risking RCE. Fixed in Django 6.1.4, 6.0.11, 5.2.20. Risk, detection and fixes.

Dec 3, 2026

Open CVE-2026-136858: Critical JetBrains TeamCity Authentication Bypass Threatens Software Supply Chain Security
CVE-2026-136858: Critical JetBrains TeamCity Authentication Bypass Threatens Software Supply Chain Security

CVE Research

CVE-2026-136858: Critical JetBrains TeamCity Authentication Bypass Threatens Software Supply Chain Security

Dec 3, 2026