RemarkableCloud

Let an AI compare us with your host:

Don't take our word for it. Ask the AI you trust.

CVE-2026-139281: a 21-year-old Linux kernel bug lets IPv6 traffic past your firewall

RC RemarkableCloud Team 6 min read Articles
On this page
CVE-2026-139281: a 21-year-old Linux kernel bug lets IPv6 traffic past your firewall
Ask ChatGPT Ask Claude

A Linux server’s firewall decides what gets in partly by tracking connections. CVE-2026-139281, disclosed this week with a CVSS score of 9.1 from Red Hat, breaks that tracking for fragmented IPv6 packets: the firewall writes down one destination while the kernel delivers the data to another. A remote attacker needs no login and no help from anyone on the server.

The bug has been in the kernel since connection tracking arrived in Linux 2.6.15, in January 2006. Upstream kernels have the fix. Most distributions don’t ship it yet, so for now the useful question is which servers it can actually reach.

What is CVE-2026-139281?

CVE-2026-139281 in three numbers: CVSS 9.1 from Red Hat, rated Critical; 21 years in the kernel since Linux 2.6.15 in 2006; zero logins or clicks needed, it arrives over IPv6

When IPv6 packets arrive in pieces, Netfilter puts them back together before the firewall looks at them. That code, in net/ipv6/netfilter/nf_conntrack_reasm.c, stores the position of one header field in a variable that only holds values up to 255. An attacker who adds a long chain of IPv6 extension headers pushes that position past 255, the value wraps, and reassembly later overwrites the wrong byte.

The result is a packet the firewall’s connection tracking reads one way and the kernel delivers another way. The fix’s own example records the traffic as UDP port 53, which many firewalls allow, while the data reaches UDP port 9999. Red Hat rates it Critical because an unauthenticated remote attacker can get past stateful firewall rules this way.

Jérémy Jean found the bug and posted the patch to the kernel mailing list on August 22. It was merged on October 19 and reached mainline in 7.4-rc1 on November 1. Stable kernel updates started shipping in late November, and the CVE was published this week.

Which servers are exposed?

The flaw can only be used against a server where all four of these hold:

  1. The kernel predates the fix. Today that’s most distribution kernels.
  2. The server has a reachable IPv6 address. The attack arrives as fragmented IPv6 traffic. A server with no public IPv6 address can’t be reached this way.
  3. The host firewall tracks IPv6 connections. ufw, firewalld and most nftables or ip6tables rule sets with “established, related” rules do.
  4. Something listens on IPv6 that only the firewall keeps private. A database, Redis, an admin panel or an internal API bound to all addresses, with the firewall as its only protection.

The fourth point decides how bad it is. A web server that answers port 443 to everyone loses nothing when its firewall is fooled. A server whose MySQL or Redis listens on every address, and relies on the firewall to keep the internet out, could have that service reached from outside.

Is it being exploited?

No attacks had been confirmed in public sources as of December 3, 2026, and The Hacker News did not mention a public proof of concept. The details have been public since the patch went to the kernel mailing list in August, so anyone who wants to build an exploit has had months to study it.

Which distributions have a fixed kernel?

Vendor status for CVE-2026-139281 as of December 4, 2026: RHEL 8 and AlmaLinux 8 fixed December 3 with kernel 4.18.0-553.193.1; RHEL 9 and 10 and AlmaLinux 9 and 10 affected with no update yet; Debian 13 trixie open, 6.12.118 in security not fixed; Debian 12 bookworm open; Ubuntu 26.04, 24.04, 22.04 and 20.04 fix needed, priority Medium; upstream stable kernels fixed

Red Hat shipped a fixed RHEL 8 kernel on December 3 (RHSA-2026:107608), and AlmaLinux published the same update (ALSA-2026:107608, kernel 4.18.0-553.193.1.el8_10) that day. Red Hat lists RHEL 9 and 10 as affected with no update yet, and AlmaLinux 9 and 10 have none either.

Debian lists bookworm and trixie as open: trixie’s security kernel, 6.12.118, came out just before the fix. Only the development branches have 7.3.6. Ubuntu marks its supported releases as needing a fix, at Medium priority, lower than Red Hat’s rating.

First upstream stable kernels with the fix: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 and mainline 7.4-rc1

These upstream numbers help with mainline or custom kernels. Distribution kernels carry their own version numbers and backport fixes, so on Debian, Ubuntu or RHEL, go by the vendor’s advisory, not the upstream version.

How do I check my server?

Start with the kernel and whether the server has a public IPv6 address:

uname -r
ip -6 addr show scope global

If the second command prints nothing, the server has no global IPv6 address and this flaw can’t reach it over the internet. If it prints an address, see what listens on IPv6:

ss -6 -tulpn

Look for anything that shouldn’t be public: database ports (3306, 5432, 27017), Redis (6379), Memcached (11211), admin panels or internal APIs. A listener on [::] accepts connections on every address, IPv6 included.

To confirm that the IPv6 reassembly code is loaded, which happens when the firewall tracks IPv6 connections:

lsmod | grep -E '^nf_defrag_ipv6|^nf_conntrack'

On RHEL 8 or AlmaLinux 8, check whether the running kernel includes the fix:

rpm -q --changelog kernel-$(uname -r) | grep CVE-2026-139281

No output means the running kernel doesn’t have it. Remember that installing a new kernel isn’t enough: the fix only takes effect after a reboot into it.

How do I patch or contain it?

  1. Install the fixed kernel and reboot as soon as your distribution ships it. On AlmaLinux 8 or RHEL 8 that’s available now through dnf update kernel. Afterwards, uname -r should show 4.18.0-553.193.1.el8_10 or later.
  2. Don’t let the firewall be the only barrier. Bind internal services to 127.0.0.1, ::1 or a private address. For MySQL or MariaDB that’s bind-address = 127.0.0.1; for Redis, bind 127.0.0.1 ::1. That protects them from this bug and from the next firewall mistake too.
  3. Disable IPv6 if the server doesn’t use it. This is Red Hat’s mitigation. Remove any AAAA DNS records pointing to the server first, or IPv6 visitors will get errors. Then:
cat > /etc/sysctl.d/90-disable-ipv6.conf <<'EOF'
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
EOF
sysctl --system
  1. Use a network firewall in front of the server if you have one. The bug is in the server’s own connection tracking, so a filter upstream that blocks the private ports adds a second barrier.

Neither Debian nor Ubuntu lists a workaround of its own, so on those systems the binding and IPv6 steps above are what you can do until the kernel update arrives.

How this works on a RemarkableCloud server

Every server we sell is fully managed at no extra cost. For a flaw like this one, our agents detect newly reported vulnerabilities and measure which servers are actually exposed, we put preventive measures in place before a patch exists, and we roll out patches after testing them on a dev box and on canary servers. The managed firewall and IDS run on centralized log analysis and live threat data, and every server takes a daily snapshot, with extra snapshots free before a change.

If you run a database, Redis or another internal service on one of our servers and aren’t sure what it listens on, open a ticket and we’ll check it with you. For more on how quickly new flaws get used, read how fast attackers exploit new vulnerabilities, or see what our managed VPS includes.

Methodology

  • Flaw, timeline and discovery: The Hacker News report of December 3, 2026, and the kernel fix description quoted in Debian’s security tracker, which gives the u8 offset, the wrap past byte 255 and the UDP 53 to 9999 example.
  • Score and rating: Red Hat’s CVE data (CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, 9.1, Critical), read December 4, 2026, 00:00 UTC, including its IPv6 mitigation.
  • Distribution status: Red Hat’s product states and errata, the AlmaLinux errata feeds for 8, 9 and 10, Debian’s security tracker and Ubuntu’s CVE data, all read December 4, 2026, around 00:00 UTC. Status changes daily; check your vendor before acting.
  • Upstream versions: the first fixed stable releases as The Hacker News lists them.
  • Commands: standard iproute2, kmod, rpm, dnf and sysctl usage. The exposure conditions follow from the fix description and Red Hat’s statement; we have not tested an exploit.

Questions and answers

What is CVE-2026-139281?

A flaw in the Linux kernel's Netfilter connection tracking, in the code that reassembles fragmented IPv6 packets. A long chain of IPv6 extension headers makes a stored offset wrap past 255, so the firewall's connection tracking records one destination while the packet is delivered to another. The example in the fix records UDP port 53 while the data reaches UDP port 9999. Red Hat scores it 9.1 and rates it Critical.

Is my server affected by CVE-2026-139281?

It matters when four things are true: the kernel predates the fix, the server has a reachable IPv6 address, its firewall uses connection tracking for IPv6 (ufw, firewalld and most nftables or ip6tables rule sets do), and a service listens on IPv6 that only that firewall keeps private. A server with no public IPv6 address can't be reached this way.

Which kernels fix CVE-2026-139281?

Upstream stable kernels 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 and 7.3.6, and mainline 7.4-rc1. On December 3, 2026, Red Hat shipped RHSA-2026:107608 for RHEL 8 and AlmaLinux published ALSA-2026:107608. Debian 12 and 13, Ubuntu's supported releases and RHEL 9 and 10 had no fixed kernel yet as of December 4, 00:00 UTC.

Is CVE-2026-139281 being exploited?

No attacks had been confirmed in public sources as of December 3, 2026. The technical details have been public since the patch was posted to the kernel mailing list on August 22, so anyone can study the bug.

What can I do before my distribution ships a fix?

Make sure the firewall is not the only thing keeping a service private: bind databases, caches and admin tools to 127.0.0.1, ::1 or a private address. If the server doesn't need IPv6, Red Hat's mitigation is to disable it, after removing any AAAA records that point to it.

Sources and references

  1. The Hacker News, Critical 21-year-old Linux kernel flaw (December 3, 2026) · thehackernews.com
  2. Red Hat, CVE-2026-139281 (read December 4, 2026, 00:00 UTC) · access.redhat.com
  3. AlmaLinux errata, ALSA-2026:107608 kernel security update (December 3, 2026) · errata.almalinux.org
  4. Debian security tracker, CVE-2026-139281 (read December 4, 2026) · security-tracker.debian.org
  5. Ubuntu security, CVE-2026-139281 (read December 4, 2026) · ubuntu.com

Your server runs. You sleep.

Fully managed hosting from people who have been doing this since 2001.