Many ops teams assume that locking down a server's firewall is enough to keep the database, the admin panel and internal services safe. A new Linux Netfilter flaw shows why that belief can fail: a crafted IPv6 packet can slip past rules you thought were blocking it.

The bug is tracked as CVE-2026-139281 and was reported by The Hacker News on 4 December 2026. Red Hat rates it 9.1 out of 10, and exploiting it needs no credentials and no user interaction. As of the original report, no real-world attacks had been confirmed in public sources.

Where the bug lives and why the firewall is fooled

Netfilter is the packet-filtering framework inside the Linux kernel. Its conntrack component tracks connections so that stateful iptables or nftables rules can make decisions. The flaw sits in the code that reassembles fragmented IPv6 packets (nf_conntrack_reasm.c).

That code stores the position of a header field in a variable that holds values only up to 255. When an attacker chains a long run of extension headers, the position overflows, wraps around, and the wrong byte is overwritten during reassembly.

The result: conntrack records one destination while the kernel delivers the packet to another. In the example from the fix, a two-fragment packet is logged as UDP port 53 (DNS) traffic, yet its payload arrives at UDP port 9999. Rules that trust that record can let through traffic they were meant to stop.

The vulnerable code has been in the kernel since 2.6.15 in January 2006, almost 21 years. The one-line fix reached mainline in 7.4-rc1 on 1 November.

Who is actually exposed

Risk is highest when two things are true: the server receives fragmented IPv6 traffic from the internet, and the host's own firewall is the only barrier in front of a sensitive service. If the service already requires authentication, listens only on a private network, or sits behind a separate network firewall, the exposure drops considerably.

Patch status, per the original report:

  • Stable kernel branches with the fix: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 and 7.3.6.
  • Red Hat shipped a kernel erratum for RHEL 8 and AlmaLinux published the matching update.
  • Debian stable (bookworm, trixie) still had no patched packages.
  • Ubuntu lists its supported kernels as under evaluation, with Medium priority. No update was available when the article ran.

Note that upstream branch numbers do not map directly to Ubuntu kernel package versions. Follow Ubuntu's CVE page and the changelog of the linux-image package instead of comparing numbers.

A 15-minute check for Ubuntu servers

Run these on each server in turn.

# 1. Running kernel
uname -r

# 2. Is IPv6 enabled? (1 = disabled)
sysctl net.ipv6.conf.all.disable_ipv6

# 3. Which ports listen on IPv6
sudo ss -6 -tulpn

# 4. Which firewall rules are active
sudo nft list ruleset
sudo ip6tables -S

# 5. Is a kernel update available yet
sudo apt update
apt list --upgradable 2>/dev/null | grep linux-image

How to read the output:

  • Step 2 returns 1 and step 3 shows nothing: the host does not take IPv6 traffic, so risk is low.
  • Step 3 shows services such as PostgreSQL, Redis or an admin panel listening on a public IPv6 address (for example [::]:5432): handle these first.
  • Step 4: look for rules using ct state (nftables) or -m conntrack (ip6tables). If a sensitive port is protected only by such rules, add another layer.

What to do before Ubuntu ships a fix

Neither Debian nor Ubuntu lists an official workaround. Red Hat suggests disabling IPv6 on systems that do not need it. If your server does not serve IPv6, you can try this temporarily:

sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1

These commands last only until the next reboot. Persist them under /etc/sysctl.d/ only once you are sure nothing depends on IPv6, and test on staging first.

Measures that help regardless of this bug:

  • Bind databases and internal services to 127.0.0.1 or a private network, not [::].
  • Add a firewall at the infrastructure provider level (security group, network firewall) instead of relying only on the host.
  • Require authentication at the application and database layers.

When Ubuntu publishes a patch, update with apt, reboot, and confirm with uname -r that the new kernel is running. A kernel update without a reboot leaves the flaw in place.

A lesson for teams that run or outsource software

The technical details of the fix were public from 22 August, yet the CVE record appeared only this week, more than three months later. Waiting for an official notice before acting will always put you a step behind. Keep a per-server inventory of open ports and review it on a schedule, rather than reacting only when news breaks.

If you run your own servers, these posts are worth reading alongside this one (in Vietnamese): checking servers for the Ghostscript flaw, the KVM flaw on AMD hosts and checking and patching the NGINX HTTP/2 flaw.

A good first step: run the ss command above and send the output to your engineering team. It is the fastest way to learn whether you are in the risk group.

References