CVE-2023-41913: strongSwan before 5.9.12 has a buffer overflow and possible unauthenticated remote code execution via a DH public value that exceeds the…

CVE-2023-41913 affects 31 listed versions of strongSwan in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
3%EPSS (next 30 days)
7 December 2023published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

strongSwan

31 of 167 listed versions are affected. Fixed in 5.9.12. The newest release, 6.1.0, is not affected.

5.9.11 5.9.10 5.9.9 5.9.8 5.9.7 5.9.6 5.9.5 5.9.4 5.9.3 5.9.2 5.9.1 5.9.0 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 5.7.2 5.7.1 5.7.0 5.6.3 5.6.2 5.6.1 5.6.0 5.5.3 5.5.2 5.5.1 5.3.3 5.3.2 5.3.1 5.3.0

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by MITRE on 7 December 2023. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2023-41913 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.