strongswan — security advisory
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.
- Products
- strongswan
- Affected versions
- Not specified
- Fixed versions
- 4.3.2-1.1
- CVEs
- CVE-2009-2661
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 23:35 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2009-2661
strongswan
Fixed versions: 4.3.2-1.1
strongswan
Fixed versions: 4.3.2-1.1
strongswan
Fixed versions: 4.3.2-1.1
Complete source record
{
"id": "47565b68b19ea255f3bc60a418b2b7c6d452496437132fa861ef254b8404b409",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2009-2661",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2009-2661",
"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.",
"evidence": "osv:DEBIAN-CVE-2009-2661",
"products": [
{
"name": {
"value": "strongswan",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.3.2-1.1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "strongswan",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.3.2-1.1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "strongswan",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.3.2-1.1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DEBIAN-CVE-2009-2661",
"aliases": [
"DEBIAN-CVE-2009-2661"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.3.2-1.1"
}
]
}
],
"package": {
"name": "strongswan",
"purl": "pkg:deb/debian/strongswan?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-2661.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.3.2-1.1"
}
]
}
],
"package": {
"name": "strongswan",
"purl": "pkg:deb/debian/strongswan?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-2661.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.3.2-1.1"
}
]
}
],
"package": {
"name": "strongswan",
"purl": "pkg:deb/debian/strongswan?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-2661.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T17:47:47.690207007Z",
"provider": "osv",
"upstream": [
"CVE-2009-2661"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2009-2661"
]
},
"related_cves": [
{
"value": "CVE-2009-2661",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 418979,
"published_at": "2009-08-04T16:30:00.483+00:00"
}