CVE-2019-12312

Summary

CVECVE-2019-12312
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2019-05-24 14:29:00 UTC
Updated2020-08-24 17:37:00 UTC
DescriptionIn 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.

Risk And Classification

Problem Types: CWE-476 | CWE-617

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Libreswan Libreswan All All All All
Application Libreswan Libreswan All All All All

References

ReferenceSourceLinkTags
Comparing 9b1394e...3897683 · libreswan/libreswan · GitHub MISC github.com Patch, Third Party Advisory
libreswan.org/security/CVE-2019-12312/CVE-2019-12312.txt CONFIRM libreswan.org
libreswan.org/security/CVE-2019-12312/libreswan-3.27-CVE-2019-12312.patch CONFIRM libreswan.org
404 Not Found MISC www.iwantacve.cn Exploit, Third Party Advisory
NULL pointer dereference and pluto daemon restart in Libreswan 3.27 · Issue #246 · libreswan/libreswan · GitHub MISC github.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 501055 Alpine Linux Security Update for libreswan
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report