CVE-2013-5018
Description
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
2.985%
chance of exploitation in the next 30 days
higher than 87.5% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Timeline
- 2013-08-28Published by the CNA17:18 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| strongswan strongswan | 4.1.11no fix listed5.0.0no fix listed5.0.1no fix listed5.0.2no fix listed5.0.3no fix listed(+1 more) | not listednot listednot listednot listednot listed |
| opensuse opensuse | 11.4no fix listed12.2no fix listed12.3no fix listed | not listednot listednot listed |
References
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00021.html
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00022.html
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00050.html
- http://secunia.com/advisories/54315
- http://secunia.com/advisories/54524
- http://strongswan.org/blog/2013/08/01/strongswan-5.1.0-released.html
- http://strongswan.org/blog/2013/08/01/strongswan-denial-of-service-vulnerability-%28cve-2013-5018%29.html
- https://lists.strongswan.org/pipermail/users/2013-July/009540.html
- http://www.securityfocus.com/bid/61564
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2013-5018'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2013-5018'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2013-5018'curl 'https://api.contrastcyber.com/cve_products/CVE-2013-5018'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).