CVE-2004-0218
Description
Remote attackers can cause a denial of service (infinite loop) in OpenBSD isakmpd via a zero-length ISAKMP payload.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Remote attackers can cause a denial of service (infinite loop) in OpenBSD isakmpd via a zero-length ISAKMP payload.
Vulnerability
In OpenBSD 3.4 and earlier, the ISAKMP packet processing functions in the isakmpd daemon fail to properly handle payloads with a zero-length specified in the "Payload Length" field of the Generic Payload Header [1][2]. The ISAKMP standard requires a length field, but when set to zero, the daemon enters an infinite loop [2]. Affected versions include OpenBSD 3.4 and earlier, as well as OpenBSD-current as of March 17, 2004 [1].
Exploitation
An unauthenticated remote attacker can send a specially crafted ISAKMP packet containing a payload with the "Payload Length" field set to zero [1][2]. The Striker ISAKMP Protocol Test Suite, used by Rapid7, demonstrated the flaw [1]. No authentication or prior access is required; the attacker only needs network connectivity to the target system's ISAKMP service (typically UDP port 500) [1].
Impact
A successful attack causes isakmpd to enter an infinite loop, consuming 100% CPU and rendering the service unresponsive [1][2]. This results in a denial of service, preventing the establishment of IPsec security associations and disrupting encrypted communications [2]. The vulnerability does not lead to code execution or data disclosure.
Mitigation
OpenBSD released source code patches for -current, 3.4-stable, and 3.3-stable [1][2]. The patches are available from the OpenBSD errata page [3]. Affected systems should apply the patch immediately. The upcoming OpenBSD 3.5 release introduced privilege separation for isakmpd, which reduces the risk of similar flaws [1].
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
2Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
8- www.openbsd.org/errata.htmlnvdPatch
- www.kb.cert.org/vuls/id/349113nvdUS Government Resource
- marc.infonvd
- secunia.com/advisories/11156nvd
- www.rapid7.com/advisories/R7-0018.htmlnvd
- www.securityfocus.com/bid/10028nvd
- www.securitytracker.com/alerts/2004/Mar/1009468.htmlnvd
- exchange.xforce.ibmcloud.com/vulnerabilities/15518nvd
News mentions
0No linked articles in our index yet.