Live threats

All CVEs / Strongswan

CVE-2013-5018Strongswan

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
3.0%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Aug 28, 2013
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
AV:N/AC:M/Au:N/C:N/I:N/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Strongswan.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
strongswanstrongswan4.1.11
strongswanstrongswan5.0.0
strongswanstrongswan5.0.1
strongswanstrongswan5.0.2
strongswanstrongswan5.0.3
strongswanstrongswan5.0.4
opensuseopensuse11.4
opensuseopensuse12.2
opensuseopensuse12.3

Official sources

References

Links published by the sources. Open them with care.