CVE-2015-3240 in Libreswan
The pluto IKE daemon in libreswan before 3.15 and Openswan before 2.6.45, when built with NSS, allows remote attackers to cause a denial of service (assertion failure and daemon restart) via a zero DH g^x value in a KE payload in a IKE packet.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Libreswan | Libreswan | 3.14 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
The pluto IKE daemon in libreswan before 3.15 and Openswan before 2.6.45, when built with NSS, allows remote attackers to cause a denial of service (assertion failure and daemon restart) via a zero DH g^x value in a KE payload in a IKE packet.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2015-3240 |
|---|---|
| BreachSpider ID | BS-2015-GLOBAL-104211-M |
| CVSS vector | AV:N/AC:M/Au:N/C:N/I:N/A:P |
| Published | 2015-11-09 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-189: CWE-189
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2015. A medium severity vulnerability affects Libreswan systems (CVE-2015-3240). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: The pluto IKE daemon in libreswan before 3.15 and Openswan before 2.6.45, when built with NSS, allows remote attackers to cause a denial of service (assertion failure and daemon restart) via a zero DH g^x value in a KE payload in a IKE packet. CVSS vector: AV:N/AC:M/Au:N/C:N/I:N/A:P.
Questions
What is CVE-2015-3240?
This vulnerability was disclosed in 2015. A medium severity vulnerability affects Libreswan systems (CVE-2015-3240). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2015-3240?
CVE-2015-3240 has CVSS 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P. EPSS: 2.8%.
Is CVE-2015-3240 actively exploited?
No confirmed active exploitation of CVE-2015-3240 as of 2026-09-25.
How do I remediate CVE-2015-3240?
Priority: MONITOR. Advisory: https://libreswan.org/security/CVE-2015-3240/CVE-2015-3240.txt
What systems are affected by CVE-2015-3240?
CVE-2015-3240 affects Libreswan Libreswan.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Libreswan","product":"Libreswan","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.