CVE-2023-38712 Null dereference in n/a

Medium 6.5 Published Updated

A NULL pointer dereference in Libreswan's IKEv1 handling allows remote attackers to crash the pluto daemon, causing a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-38712?

CVE-2023-38712 is a medium-severity vulnerability in n/a, published on 25 Aug 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue was discovered in Libreswan 3.x and 4.x before 4.12. When an IKEv1 ISAKMP SA Informational Exchange packet contains a Delete/Notify payload followed by further Notifies that act on the ISAKMP SA, such as a duplicated Delete/Notify message, a NULL pointer dereference on the deleted state causes the pluto daemon to crash and restart.

Weakness: CWE-476

Which versions are affected by CVE-2023-38712?

It affects 1 product.

Products include Libreswan Libreswan.

How do I fix CVE-2023-38712?

Upgrade to a fixed version.

Is CVE-2023-38712 being exploited?

There is no known exploitation of CVE-2023-38712 in the wild and no public exploit code.

Sources

Also known as AZL-28066, AZL-34937, CLSA-2025-1757962152, DEBIAN-CVE-2023-38712, GHSA-65xr-g9j5-jv8g, UBUNTU-CVE-2023-38712.

Is CVE-2023-38712 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free