Back
CVE-2013-5018
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…
Medium4.3EPSS 3.0%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
- EPSS (exploitation in 30 days)
- 3.0% · top 13% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Weakness
Affected products
n/a
- affected n/a
References (9)
- 54315 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 61564 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 54524 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://strongswan.org/blog/2013/08/01/strongswan-5.1.0-released.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- openSUSE-SU-2013:1333 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- http://strongswan.org/blog/2013/08/01/strongswan-denial-of-service-vulnerability-%28cve-2013-5018%29.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- openSUSE-SU-2013:1332 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- [Users] 20130729 [strongSwan] charon crash right after xauth+rsa client connects (strongswan-5.0.4, ubuntu 12.04) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- openSUSE-SU-2013:1372 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2013-5018)Record last updated .