Description
KAME IKE daemon (racoon) does not properly handle hash values, which allows remote attackers to delete certificates via (1) a certain delete message that is not properly handled in isakmp.c or isakmp_inf.c, or (2) a certain INITIAL-CONTACT message that is not properly handled in isakmp_inf.c.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 3 | ipsec-tools | 0.2.5-0.4 | RHSA-2004:165 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- KAME Racoon - 'Initial Contact' SA Deletion EDB-23540 · dos · Jan 14, 2004 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- RHSA-2004:165 Red Hat Security Advisory: ipsec-tools security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
References
- oval:org.mitre.oval:def:9737 vdb-entry signature
- oval:org.mitre.oval:def:947 vdb-entry signature
- 9417 vdb-entry
- 9416 vdb-entry
- openbsd-isakmp-invalidspi-delete-sa(14117) vdb-entry
- 20040114 Re: unauthorized deletion of IPsec (and ISAKMP) SAs in racoon mailing-list
- 20040113 unauthorized deletion of IPsec (and ISAKMP) SAs in racoon mailing-list
- openbsd-isakmp-initialcontact-delete-sa(14118) vdb-entry
- APPLE-SA-2004-02-23 vendor-advisory