Security —

Linux kernel flaw lets hackers bypass firewall rules with crafted IPv6 packets

The ability for unauthenticated remote attackers to gain access to restricted network services exists due to a significant issue within the Linux kernel's Netfilter connection tracking subsystem.

Linux kernel flaw lets hackers bypass firewall rules with crafted IPv6 packets

This critical vulnerability, designated as CVE-2026-139281, allows specially constructed IPv6 packets to circumvent established firewall policies.

This defect, which has been present for close to two decades, carries a CVSS severity score of 9.1. Netfilter is the component within Linux responsible for managing packet filtering and tracking established connections, functions that firewalls utilize to govern network flow. According to an advisory from Red Hat, "A remote attacker can exploit this vulnerability by sending specially crafted IPv6 packet fragments with long extension headers, causing an internal byte offset calculation to overflow and truncate." This calculation error leads to the corruption of packet header information during the reassembly process, which subsequently causes connection tracking to misidentify network traffic. As a result, unauthorized network data might slip past firewall controls and reach services that should be inaccessible.

Linux kernel developers illustrated this risk with an example: a specially fabricated IPv6 packet could be logged by conntrack as traffic intended for UDP port 53, which is standard for DNS, even though the actual data payload is delivered to UDP port 9999. This scenario permits remote attackers without needing credentials to bypass firewall rules dependent on connection tracking details and access previously protected network resources.

The technical details regarding this flaw were made public in an August kernel patch submission, and the vulnerability was first introduced in Linux kernel version 2.6.15, which was released in January 2006. Jérémie Jean, Deputy Head of the Cryptography Lab at France's National Agency for the Security of Information Systems (ANSSI), was the individual who disclosed this flaw.

While patches are available for the upstream Linux kernel, various Linux distributions are currently in the process of either assessing the risk or preparing necessary security updates. Red Hat has assigned this flaw a critical rating, matching the CVSS severity of 9.1. Conversely, Debian has identified Debian 12 (Bookworm) and Debian 13 (Trixie) as susceptible. Canonical has categorized the vulnerability as medium priority, assigning it a CVSS severity of 6.9, because they determined the flaw does not affect data confidentiality and only moderately impacts system integrity. Canonical is presently determining which specific Ubuntu versions are impacted by this issue.

The vulnerability has been addressed in several kernel versions, specifically 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. System administrators managing Linux environments are strongly advised to deploy security updates as soon as they become accessible for their respective distributions. For systems where patching is not yet feasible, Red Hat suggests a mitigation strategy: disabling IPv6 if the system does not require it. Red Hat's security advisory states, "The remote attack vector can be mitigated by disabling IPv6. Please see https://access.redhat.com/solutions/8709 for how to disable IPv6 in Red Hat Enterprise Linux."

The persistence of vulnerabilities spanning such a long duration underscores the ongoing operational challenge in maintaining secure infrastructure against deeply embedded code flaws.

This persistent nature of the flaw highlights the continuous security obligations placed upon platform operators managing kernel-level components.

Earlier coverage

security

Related coverage

Elsewhere in this edition