cve.bz

CVE-2023-41913 strongswan strongswan: Classic Buffer Overflow

9.8 criticalEPSS 2.7%

Critical (9.8) in strongswan strongswan. EPSS 2.7% estimated probability of exploitation activity in the next 30 days.

On this page
strongSwan before 5.9.12 has a buffer overflow and possible unauthenticated remote code execution via a DH public value that exceeds the internal buffer in charon-tkm's DH proxy. The earliest affected version is 5.3.0. An attack can occur via a crafted IKE_SA_INIT message.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.7% (up from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2025-12-18. 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-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
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-41913 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-41913?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-41913?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-41913 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
strongswan:strongswanfrom 5.3.0 before 5.9.12

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10strongswan5.7.2-1+deb10u4DLA-3663-1
Debian11strongswan5.9.1-1+deb11u4DSA-5560-1
Debian12strongswan5.9.8-5+deb12u1DEBIAN-CVE-2023-41913 DSA-5560-1
Debian13, 14strongswan5.9.12-1DEBIAN-CVE-2023-41913
Ubuntu20.04:LTSstrongswan5.8.2-1ubuntu3.6UBUNTU-CVE-2023-41913 USN-6488-1
Ubuntu22.04:LTSstrongswan5.9.5-2ubuntu2.2UBUNTU-CVE-2023-41913 USN-6488-1
UbuntuPro:16.04:LTSstrongswan5.3.5-1ubuntu3.8+esm4UBUNTU-CVE-2023-41913 USN-6488-2
UbuntuPro:18.04:LTSstrongswan5.6.2-1ubuntu2.9+esm1UBUNTU-CVE-2023-41913 USN-6488-2
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-ESPOS and 5 morestrongswan5.8.2-150200.11.42.2SUSE-SU-2023:4515-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1strongswan5.8.2-150000.4.23.2SUSE-SU-2023:4516-1
SUSELinux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Package Hub 15 SP4, Linux Enterprise Workstation Extension 15 SP4strongswan5.9.11-150400.19.17.2SUSE-SU-2023:4514-1
SUSELinux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Package Hub 15 SP5, Linux Enterprise Workstation Extension 15 SP5strongswan5.9.11-150500.5.6.1SUSE-SU-2023:4529-1
openSUSELeap 15.4strongswan5.9.11-150400.19.17.2SUSE-SU-2023:4514-1
openSUSELeap 15.5strongswan5.9.11-150500.5.6.1SUSE-SU-2023:4529-1
Alpinev3.17, v3.18, v3.19 and 5 morestrongswan5.9.12-r0ALPINE-CVE-2023-41913
Azure Linux2strongswan5.9.10-3AZL-32071
Azure Linux3strongswan5.9.12-1AZL-35287

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; 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 · SUSE · openSUSE · Alpine.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON