The asn1_length function in strongSwan 2.8 before 2.8.11, 4.2 before 4.2.17, and 4.3…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Partial
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 24
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:strongswan:strongswan:2.8.0:*:*:*:*:*:*:* | 2.8.0 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:2.8.1:*:*:*:*:*:*:* | 2.8.1 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:2.8.2:*:*:*:*:*:*:* | 2.8.2 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:2.8.3:*:*:*:*:*:*:* | 2.8.3 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:2.8.4:*:*:*:*:*:*:* | 2.8.4 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:2.8.5:*:*:*:*:*:*:* | 2.8.5 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:2.8.6:*:*:*:*:*:*:* | 2.8.6 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:2.8.7:*:*:*:*:*:*:* | 2.8.7 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:2.8.8:*:*:*:*:*:*:* | 2.8.8 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:2.8.10:*:*:*:*:*:*:* | 2.8.10 | Vulnerable | strongSwan |
- cpe:2.3:a:strongswan:strongswan:2.8.0:*:*:*:*:*:*:* Versions 2.8.0 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:2.8.1:*:*:*:*:*:*:* Versions 2.8.1 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:2.8.2:*:*:*:*:*:*:* Versions 2.8.2 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:2.8.3:*:*:*:*:*:*:* Versions 2.8.3 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:2.8.4:*:*:*:*:*:*:* Versions 2.8.4 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:2.8.5:*:*:*:*:*:*:* Versions 2.8.5 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:2.8.6:*:*:*:*:*:*:* Versions 2.8.6 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:2.8.7:*:*:*:*:*:*:* Versions 2.8.7 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:2.8.8:*:*:*:*:*:*:* Versions 2.8.8 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:2.8.10:*:*:*:*:*:*:* Versions 2.8.10 Vulnerable ·strongSwan
Show 14 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:strongswan:strongswan:4.2.0:*:*:*:*:*:*:* | 4.2.0 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:4.2.1:*:*:*:*:*:*:* | 4.2.1 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:4.2.2:*:*:*:*:*:*:* | 4.2.2 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:4.2.3:*:*:*:*:*:*:* | 4.2.3 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:4.2.10:*:*:*:*:*:*:* | 4.2.10 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:4.2.11:*:*:*:*:*:*:* | 4.2.11 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:4.2.12:*:*:*:*:*:*:* | 4.2.12 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:4.2.13:*:*:*:*:*:*:* | 4.2.13 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:4.2.14:*:*:*:*:*:*:* | 4.2.14 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:4.2.15:*:*:*:*:*:*:* | 4.2.15 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:4.2.16:*:*:*:*:*:*:* | 4.2.16 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:4.3.0:*:*:*:*:*:*:* | 4.3.0 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:4.3.1:*:*:*:*:*:*:* | 4.3.1 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:4.3.2:*:*:*:*:*:*:* | 4.3.2 | Vulnerable | strongSwan |
- cpe:2.3:a:strongswan:strongswan:4.2.0:*:*:*:*:*:*:* Versions 4.2.0 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:4.2.1:*:*:*:*:*:*:* Versions 4.2.1 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:4.2.2:*:*:*:*:*:*:* Versions 4.2.2 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:4.2.3:*:*:*:*:*:*:* Versions 4.2.3 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:4.2.10:*:*:*:*:*:*:* Versions 4.2.10 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:4.2.11:*:*:*:*:*:*:* Versions 4.2.11 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:4.2.12:*:*:*:*:*:*:* Versions 4.2.12 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:4.2.13:*:*:*:*:*:*:* Versions 4.2.13 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:4.2.14:*:*:*:*:*:*:* Versions 4.2.14 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:4.2.15:*:*:*:*:*:*:* Versions 4.2.15 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:4.2.16:*:*:*:*:*:*:* Versions 4.2.16 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:4.3.0:*:*:*:*:*:*:* Versions 4.3.0 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:4.3.1:*:*:*:*:*:*:* Versions 4.3.1 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:4.3.2:*:*:*:*:*:*:* Versions 4.3.2 Vulnerable ·strongSwan
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2009-2661
- 2026-10-03 Alias added: GHSA-7j3p-ffqc-xjpg
References
Patch 2
Advisory 3
More Strongswan vulnerabilities
- TI-2023-22300 strongSwan before 5.9.12 has a buffer overflow and possible unauthenticated remote code… CVSS 3.1CRITICAL 9.8
- TI-2015-03374 strongSwan 5.2.2 and 5.3.0 allows remote attackers to cause a denial of service (daemon… CVSS 3.0CRITICAL 9.8
- TI-2004-00531 FreeS/WAN 1.x and 2.x, and other related products including superfreeswan 1.x, openswan… CVSS 2.0HIGH 10.0
- TI-2023-11610 strongSwan 5.9.8 and 5.9.9 potentially allows remote code execution because it uses a… CVSS 3.1CRITICAL 9.8
- TI-2021-20414 In strongSwan before 5.9.5, a malicious responder can send an EAP-Success message too… CVSS 3.1CRITICAL 9.1
- TI-2017-08240 The gmp plugin in strongSwan before 5.6.0 allows remote attackers to cause a denial of… CVSS 3.1HIGH 7.5
Sources
- CVE-2009-2661 · CVE Program
- CVE-2009-2661 · NVD
- FIRST EPSS
- GHSA-7j3p-ffqc-xjpg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences