CVE-2019-12312: Null Pointer Dereference

Published May 24, 2019
·
Updated

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 IKESAINIT exchange, followed by a bogus INFORMATIONAL exchange instead of the normallly expected IKEAUTH exchange. This affects sendv2Nspiresponsefromstate() in programs/pluto/ikev2send.c that will then trigger a NULL pointer dereference leading to a restart of libreswan.

Affected Software

1 affected component
libreswan Libreswan<3.28

Event History

May 24, 2019
CVE Published
via MITRE·01:06 PM
Data Sourced
via MITRE·01:06 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2019-12312?

CVE-2019-12312 is a vulnerability in Libreswan 3.27 that can lead to a pluto IKE daemon restart.

2

How does CVE-2019-12312 occur?

CVE-2019-12312 occurs when an attacker initiates an IKEv2 IKE_SA_INIT exchange, followed by a bogus INFORMATIONAL exchange instead of the normally expected IKE_AUTH exchange.

3

What is the severity of CVE-2019-12312?

The severity of CVE-2019-12312 is 7.5 (High).

4

How can an attacker exploit CVE-2019-12312?

An attacker can exploit CVE-2019-12312 by triggering a NULL pointer dereference through the specific sequence of IKEv2 exchanges.

5

Is there a fix for CVE-2019-12312?

Yes, upgrading to Libreswan version 3.28 or later fixes CVE-2019-12312.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203