CVE-2009-2661 in Strongswan
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 ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Strongswan | Strongswan | 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5+18 more2.8.6 2.8.7 2.8.8 2.8.10 4.2.0 4.2.1 4.2.2 4.2.3 4.2.10 4.2.11 4.2.12 4.2.13 4.2.14 4.2.15 4.2.16 4.3.0 4.3.1 4.3.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2009-2661 |
|---|---|
| BreachSpider ID | BS-2009-GLOBAL-083523-M |
| CVSS vector | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| Published | 2009-08-04 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-310: Cryptographic Issues
Broad class covering misuse of cryptography: weak algorithms, insufficient key length, improper certificate validation.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2009. A medium severity vulnerability affects Strongswan systems (CVE-2009-2661). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:L/Au:N/C:N/I:N/A:P.
Questions
What is CVE-2009-2661?
This vulnerability was disclosed in 2009. A medium severity vulnerability affects Strongswan systems (CVE-2009-2661). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2009-2661?
CVE-2009-2661 has CVSS 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P. EPSS: 1.6%.
Is CVE-2009-2661 actively exploited?
No confirmed active exploitation of CVE-2009-2661 as of 2026-09-25.
How do I remediate CVE-2009-2661?
Priority: MONITOR.
What systems are affected by CVE-2009-2661?
CVE-2009-2661 affects Strongswan Strongswan.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Strongswan","product":"Strongswan","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.