VYPR
Unrated severityNVD Advisory· Published Dec 6, 2004· Updated Apr 16, 2026

CVE-2004-0626

CVE-2004-0626

Description

A malformed TCP packet with an oversized header length causes an infinite loop in iptables TCP option matching, leading to CPU exhaustion and denial of service on Linux 2.6 kernels.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A malformed TCP packet with an oversized header length causes an infinite loop in iptables TCP option matching, leading to CPU exhaustion and denial of service on Linux 2.6 kernels.

Vulnerability

The vulnerability resides in the tcp_find_option() function in the netfilter subsystem (net/ipv4/netfilter/ip_tables.c) of Linux kernel 2.6.x. It is exploitable only when iptables rules using the --tcp-option match are active. The function iterates over TCP options stored in a local char array; if the length field of a TCP option exceeds 127, the implicit cast to signed char produces a negative value, causing the loop counter to move backwards and potentially resulting in an infinite loop. All 2.6.x kernels are affected on i386 and likely other architectures [1][3].

Exploitation

An attacker needs no authentication or local access; the attack is entirely remote. By sending a single crafted TCP packet with a header length byte larger than 127 and a suitable option length field, the kernel enters an infinite loop. The packet must be processed by a netfilter rule that examines TCP options. No user interaction is required beyond the packet reaching the target [1][3].

Impact

Successful exploitation causes the kernel to consume 100% CPU resources, rendering the system unresponsive. This is a denial of service (DoS) with complete loss of availability. No confidentiality or integrity impact is reported; the attack does not provide elevated privileges or code execution [1][3].

Mitigation

Patched kernels were released by vendors shortly after disclosure. Users should upgrade to a fixed kernel version (e.g., 2.6.7 or later for mainline, or consult distributions like SUSE and Gentoo for specific advisories [2][3]). Workarounds include removing any iptables rules using --tcp-option or unloading the netfilter module if not required. The vulnerability is not in the CISA Known Exploited Vulnerabilities (KEV) catalog [2][3].

AI Insight generated on May 24, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

9
  • cpe:2.3:o:conectiva:linux:10:*:*:*:*:*:*:*
  • cpe:2.3:o:gentoo:linux:*:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:2.6.0:*:*:*:*:*:*:*
  • SUSE S.A./Linux5 versions
    cpe:2.3:o:suse:suse_linux:8.0:*:*:*:*:*:*:*+ 4 more
    • cpe:2.3:o:suse:suse_linux:8.0:*:*:*:*:*:*:*
    • cpe:2.3:o:suse:suse_linux:8.1:*:*:*:*:*:*:*
    • cpe:2.3:o:suse:suse_linux:8.2:*:*:*:*:*:*:*
    • cpe:2.3:o:suse:suse_linux:9.0:*:*:*:*:*:*:*
    • cpe:2.3:o:suse:suse_linux:9.1:*:*:*:*:*:*:*
  • Range: 2.6

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

6

News mentions

0

No linked articles in our index yet.