The is_asn1 function in strongSwan 4.1.11 through 5.0.4 does not properly validate the…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Partial
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.
Summary
The is_asn1 function in strongSwan 4.1.11 through 5.0.4 does not properly validate the return value of the asn1_length function, which allows remote attackers to cause a denial of service (segmentation fault) via a (1) XAuth username, (2) EAP identity, or (3) PEM encoded file that starts with a 0x04, 0x30, or 0x31 character followed by an ASN.1 length value that triggers an integer overflow.
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 · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:strongswan:strongswan:4.1.11:*:*:*:*:*:*:* | 4.1.11 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:5.0.0:*:*:*:*:*:*:* | 5.0.0 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:5.0.1:*:*:*:*:*:*:* | 5.0.1 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:5.0.2:*:*:*:*:*:*:* | 5.0.2 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:5.0.3:*:*:*:*:*:*:* | 5.0.3 | Vulnerable | strongSwan |
| cpe:2.3:a:strongswan:strongswan:5.0.4:*:*:*:*:*:*:* | 5.0.4 | Vulnerable | strongSwan |
| cpe:2.3:o:opensuse:opensuse:11.4:*:*:*:*:*:*:* | 11.4 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:opensuse:12.2:*:*:*:*:*:*:* | 12.2 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:opensuse:12.3:*:*:*:*:*:*:* | 12.3 | Vulnerable | openSUSE |
- cpe:2.3:a:strongswan:strongswan:4.1.11:*:*:*:*:*:*:* Versions 4.1.11 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:5.0.0:*:*:*:*:*:*:* Versions 5.0.0 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:5.0.1:*:*:*:*:*:*:* Versions 5.0.1 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:5.0.2:*:*:*:*:*:*:* Versions 5.0.2 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:5.0.3:*:*:*:*:*:*:* Versions 5.0.3 Vulnerable ·strongSwan
- cpe:2.3:a:strongswan:strongswan:5.0.4:*:*:*:*:*:*:* Versions 5.0.4 Vulnerable ·strongSwan
- cpe:2.3:o:opensuse:opensuse:11.4:*:*:*:*:*:*:* Versions 11.4 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:opensuse:12.2:*:*:*:*:*:*:* Versions 12.2 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:opensuse:12.3:*:*:*:*:*:*:* Versions 12.3 Vulnerable ·openSUSE
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 3 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2013-5018
- 2026-10-03 Alias added: GHSA-7xq3-j5px-xf94
References
Sources
- CVE-2013-5018 · CVE Program
- CVE-2013-5018 · NVD
- FIRST EPSS
- GHSA-7xq3-j5px-xf94 · GitHub Advisory Database · CC BY 4.0
- CVE-2013-5018 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences