CVE-2009-2661Strongswan
Medium 5.0 No auth needed
Follow: this CVE · Strongswan · Strongswan We alert you by email or Slack (account required).
- Priority
- 45
- CVSS 2.0
- 5.0
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- No
- Published
- Aug 4, 2009
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-310
- Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
What happens
The asn1_length function in strongSwan 2.8 before 2.8.11, 4.2 before 4.2.17, and 4.3 before 4.3.3 does not properly handle X.509 certificates with crafted Relative Distinguished Names (RDNs), which allows remote attackers to cause a denial of service (pluto IKE daemon crash) via malformed ASN.1 data. NOTE: this is due to an incomplete fix for CVE-2009-2185.
What to do
- Apply the vendor's security update for Strongswan.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| strongswan | strongswan | 2.8.0 |
| strongswan | strongswan | 2.8.1 |
| strongswan | strongswan | 2.8.2 |
| strongswan | strongswan | 2.8.3 |
| strongswan | strongswan | 2.8.4 |
| strongswan | strongswan | 2.8.5 |
| strongswan | strongswan | 2.8.6 |
| strongswan | strongswan | 2.8.7 |
| strongswan | strongswan | 2.8.8 |
| strongswan | strongswan | 2.8.10 |
| strongswan | strongswan | 4.2.0 |
| strongswan | strongswan | 4.2.1 |
| strongswan | strongswan | 4.2.2 |
| strongswan | strongswan | 4.2.3 |
| strongswan | strongswan | 4.2.10 |
| strongswan | strongswan | 4.2.11 |
| strongswan | strongswan | 4.2.12 |
| strongswan | strongswan | 4.2.13 |
| strongswan | strongswan | 4.2.14 |
| strongswan | strongswan | 4.2.15 |
| strongswan | strongswan | 4.2.16 |
| strongswan | strongswan | 4.3.0 |
| strongswan | strongswan | 4.3.1 |
| strongswan | strongswan | 4.3.2 |
Official sources
References
Links published by the sources. Open them with care.