Home / Strongswan / Strongswan / CVE-2009-2661
CVE-2009-2661: is it exploited, and which versions of Strongswan are affected and fixed?
CVE-2009-2661 is a vulnerability in Strongswan. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: strongswan 2.8.0, strongswan 2.8.1, strongswan 2.8.2 and 21 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:51 UTC.
What is CVE-2009-2661?
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.
From the CVE record by mitre, last updated August 7, 2024, 05:59 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| strongswan | strongswan | 2.8.0 | application |
| strongswan | strongswan | 2.8.1 | application |
| strongswan | strongswan | 2.8.2 | application |
| strongswan | strongswan | 2.8.3 | application |
| strongswan | strongswan | 2.8.4 | application |
| strongswan | strongswan | 2.8.5 | application |
| strongswan | strongswan | 2.8.6 | application |
| strongswan | strongswan | 2.8.7 | application |
| strongswan | strongswan | 2.8.8 | application |
| strongswan | strongswan | 2.8.10 | application |
| strongswan | strongswan | 4.2.0 | application |
| strongswan | strongswan | 4.2.1 | application |
| strongswan | strongswan | 4.2.2 | application |
| strongswan | strongswan | 4.2.3 | application |
| strongswan | strongswan | 4.2.10 | application |
| strongswan | strongswan | 4.2.11 | application |
| strongswan | strongswan | 4.2.12 | application |
| strongswan | strongswan | 4.2.13 | application |
| strongswan | strongswan | 4.2.14 | application |
| strongswan | strongswan | 4.2.15 | application |
| strongswan | strongswan | 4.2.16 | application |
| strongswan | strongswan | 4.3.0 | application |
| strongswan | strongswan | 4.3.1 | application |
| strongswan | strongswan | 4.3.2 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:09 UTC.
How severe is CVE-2009-2661?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2009-2661 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.58% probability of exploitation activity in the next 30 days, percentile 76.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- [oss-security] 20090727 CVE id request: strongswan mailing-list, x_refsource_MLIST
- http://download.strongswan.org/patches/07_asn1_length_patch/strongswan-4.x.x_asn1_length.patch x_refsource_CONFIRM
- SUSE-SR:2009:018 vendor-advisory, x_refsource_SUSE
- 36922 third-party-advisory, x_refsource_SECUNIA
- DSA-1899 vendor-advisory, x_refsource_DEBIAN
- ADV-2009-2247 vdb-entry, x_refsource_VUPEN
- http://up2date.astaro.com/2009/08/up2date_7505_released.html x_refsource_CONFIRM
- SUSE-SR:2009:016 vendor-advisory, x_refsource_SUSE
- http://download.strongswan.org/patches/07_asn1_length_patch/strongswan-4.3.x_asn1_length.patch x_refsource_CONFIRM
- [Announce] 20090723 ANNOUNCE: strongswan-2.8.11 and strongswan-4.2.17 released mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- August 4, 2009
- Published
- August 4, 2009, 16:13 UTC
- CVE record updated
- August 7, 2024, 05:59 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 23:09 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:51 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Strongswan?
- Sep 11, 2026CVE-2026-78135 strongSwan: improper Enforcement of Behavioral Workflow
- Sep 11, 2026CVE-2026-78134 strongSwan: incorrect authorization
- Sep 11, 2026CVE-2026-78133 strongSwan: use after free
- Sep 11, 2026CVE-2026-78132 strongSwan: infinite loop (denial of service)
- Sep 11, 2026CVE-2026-78131 strongSwan: memory leak
- Sep 11, 2026CVE-2026-78130 strongSwan: NULL pointer dereference (crash)
- Sep 11, 2026CVE-2026-78129 strongSwan: infinite loop (denial of service)
- Sep 11, 2026CVE-2026-78127 strongSwan: memory leak
Questions about CVE-2009-2661
Is CVE-2009-2661 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 1.58% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Strongswan are affected by CVE-2009-2661?
strongswan 2.8.0, strongswan 2.8.1, strongswan 2.8.2, strongswan 2.8.3, strongswan 2.8.4, strongswan 2.8.5 and 18 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2009-2661?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2009-2661?
Medium (5.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2009-2661?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.