CVE-2023-41913
JSON

9.8critical

strongSwan before 5.9.12 has a buffer overflow and possible unauthenticated remote code execution via a DH public value that exceeds the in…

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
2.70% (higher than 86% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
strongswan strongswanfrom 5.3.0 before 5.9.12NVD

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-120

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

strongSwan anterior a 5.9.12 tiene un desbordamiento del búfer y una posible ejecución remota de código no autenticado a través de un valor público DH que excede el búfer interno en el proxy DH de charon-tkm. La primera versión afectada es la 5.3.0. Un ataque puede ocurrir a través de un mensaje IKE_SA_INIT manipulado.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-41913 changed 2025-12-18CVE Terms of Use
NVDCVE-2023-41913 changed 2026-06-17Public domain