cve.bz

CVE-2023-38711 libreswan libreswan: NULL Pointer Dereference

6.5 mediumEPSS 0.8%

Medium (6.5) in libreswan libreswan. EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
An issue was discovered in Libreswan before 4.12. When an IKEv1 Quick Mode connection configured with ID_IPV4_ADDR or ID_IPV6_ADDR receives an IDcr payload with ID_FQDN, a NULL pointer dereference causes a crash and restart of the pluto daemon. NOTE: the earliest affected version is 4.6.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-07-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-38711 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-38711?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-38711?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-38711 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libreswan:libreswanfrom 4.6 before 4.12

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libreswanno fix listedDEBIAN-CVE-2023-38711
Debian13libreswan4.12-1DEBIAN-CVE-2023-38711
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morelibreswanno fix listedUBUNTU-CVE-2023-38711
Red Hatenterprise_linux:8::appstreamlibreswan, libreswan-debuginfo, libreswan-debugsource0:4.12-2.el8RHSA-2023:7052
Red Hatenterprise_linux:9::appstreamlibreswan, libreswan-debuginfo, libreswan-debugsource0:4.12-1.el9RHSA-2023:6549
Red Hatopenshift:4.15::el9libreswan, libreswan-debuginfo, libreswan-debugsource0:4.6-3.el9_0.3RHBA-2024:11565
Red Hatopenshift:4.16::el9libreswan, libreswan-debuginfo, libreswan-debugsource0:4.6-3.el9_0.3RHBA-2024:11505
Red Hatopenshift:4.17::el9libreswan, libreswan-debuginfo, libreswan-debugsource0:4.6-3.el9_0.3RHBA-2024:11525
Red Hatrhel_e4s:9.0::appstreamlibreswan, libreswan-debuginfo, libreswan-debugsource0:4.6-3.el9_0.3RHSA-2024:10594
Red Hatrhel_eus:9.2::appstreamlibreswan, libreswan-debuginfo, libreswan-debugsource0:4.9-5.el9_2.4RHSA-2025:0309
AlmaLinux8libreswan4.12-2.el8ALSA-2023:7052
AlmaLinux9libreswan4.12-1.el9ALSA-2023:6549
Rocky Linux8libreswan0:4.12-2.el8_10.3RLSA-2023:7052
Alpinev3.19, v3.20, v3.21 and 3 morelibreswan4.12-r0ALPINE-CVE-2023-38711
Azure Linux2libreswan4.7-5AZL-28065
Azure Linux3libreswan4.7-6AZL-34936

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

IKEv1 Quick Mode requests are only processed when received from authenticated peers, limiting the scope of possible attackers to peers who have successfully authenticated.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libreswan-0:4.12-2.el8Fixed 2023-11-14RHSA-2023:7052
Red Hat Enterprise Linux 9libreswan-0:4.12-1.el9Fixed 2023-11-07RHSA-2023:6549
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionslibreswan-0:4.6-3.el9_0.3Fixed 2024-12-02RHSA-2024:10594
Red Hat Enterprise Linux 9.2 Extended Update Supportlibreswan-0:4.9-5.el9_2.4Fixed 2025-01-14RHSA-2025:0309
Red Hat OpenShift Container Platform 4.15libreswan-0:4.6-3.el9_0.3Fixed 2025-01-02RHBA-2024:11565
Red Hat OpenShift Container Platform 4.16libreswan-0:4.6-3.el9_0.3Fixed 2025-01-02RHBA-2024:11505
Red Hat OpenShift Container Platform 4.17libreswan-0:4.6-3.el9_0.3Fixed 2025-01-02RHBA-2024:11525
Red Hat Enterprise Linux 6libreswanNot affected
Red Hat Enterprise Linux 7libreswanNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-38711.

References

Check your stackJSON