CVE-2004-0184: Out-of-bounds Read in tcpdump ISAKMP Identification Payload Decoder
- Vendor
- Tcpdump
CVE-2004-0184 is an out-of-bounds read vulnerability in tcpdump 3.8.1 and earlier in the ISAKMP packet dissection logic, specifically the isakmp_id_print routine. A malformed ISAKMP Identification payload can trigger an integer underflow during length handling after byte-order conversion, causing the computed payload length to become less than 8 and leading the decoder to read beyond the intended buffer bounds. Because tcpdump processes attacker-controlled network traffic, a remote attacker can supply a crafted ISAKMP packet that causes the parser to access invalid memory and terminate unexpectedly.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation causes tcpdump to crash while decoding the malformed ISAKMP traffic, resulting in denial of service. The primary operational impact is disruption of packet capture, network monitoring, and traffic analysis on systems using vulnerable versions. The available information specifically describes a crash condition and does not establish code execution.
Mitigation
If you can’t patch tonight, do this now.
Until patches are applied, reduce exposure by limiting tcpdump processing of untrusted network traffic. Avoid running tcpdump with verbose decoding enabled unless operationally necessary, since the available advisory indicates this reduces exposure to the vulnerable parsing path. Using a reduced snapshot length may also lessen exploitability in affected deployments.
Remediation
Patch, then assume compromise.
Upgrade tcpdump to a version containing the fix for CVE-2004-0184, or apply vendor-supplied patches from the affected operating system or distribution. Ensure the ISAKMP decoder length handling is corrected so malformed Identification payload lengths cannot underflow and drive out-of-bounds reads.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2004-0184 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2004-0184 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2004-0184?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2004-0184.
- Is there a patch for CVE-2004-0184?
- Upgrade tcpdump to a version containing the fix for CVE-2004-0184, or apply vendor-supplied patches from the affected operating system or distribution. Ensure the ISAKMP decoder length handling is corrected so malformed Identification payload lengths cannot underflow and drive out-of-bounds reads.
- What products are affected by CVE-2004-0184?
- Tcpdump.
- How severe is CVE-2004-0184?
- CVE-2004-0184 has a CVSS v2 score of 5.0 (Medium) and an EPSS score of 60.3% (99th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.