{"id":"CVE-2019-12312","url":"https://www.cyber-defence.io/tools/cve/CVE-2019-12312","generatedAt":"2026-10-28T22:44:18.749Z","title":"An attacker can trigger a NULL pointer dereference by initiating an IKEv2 IKE_SA_INIT exchange, followed by a bogus INFORMATIONAL exchange instead of the normallly expected IKE_AUTH exchange.","description":"In Libreswan 3.27 an assertion failure can lead to a pluto IKE daemon restart. An attacker can trigger a NULL pointer dereference by initiating an IKEv2 IKE_SA_INIT exchange, followed by a bogus INFORMATIONAL exchange instead of the normallly expected IKE_AUTH exchange. This affects send_v2N_spi_response_from_state() in programs/pluto/ikev2_send.c that will then trigger a NULL pointer dereference leading to a restart of libreswan.","published":"2019-05-24T14:29:00.000Z","lastModified":"2026-06-17T02:14:25.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"cwe":["CWE-476","CWE-617"],"affected":["libreswan/libreswan"],"epss":{"score":0.02748,"percentile":0.86126,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (2.75%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"http://www.iwantacve.cn/index.php/archives/218/","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/libreswan/libreswan/compare/9b1394e...3897683","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/libreswan/libreswan/issues/246","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://libreswan.org/security/CVE-2019-12312/CVE-2019-12312.txt","source":"cve@mitre.org"},{"url":"https://libreswan.org/security/CVE-2019-12312/libreswan-3.27-CVE-2019-12312.patch","source":"cve@mitre.org"},{"url":"http://www.iwantacve.cn/index.php/archives/218/","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/libreswan/libreswan/compare/9b1394e...3897683","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/libreswan/libreswan/issues/246","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://libreswan.org/security/CVE-2019-12312/CVE-2019-12312.txt","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://libreswan.org/security/CVE-2019-12312/libreswan-3.27-CVE-2019-12312.patch","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-12312","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}