Skip to content
Fencer Vulns
critical 9.8

CVE-2023-41913 json

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

published 2023-12-07 2 y ago modified 2026-06-17 4 mo ago also EUVD-2023-46391

cvss
9.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.3%
EPSS 2.3% chance of exploitation in 30 days, percentile 83%
public exploits
0
none known

Summary

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.

Patch / fix

  • strongswan strongswan 5.9.12
  • strongswan Debian 12 5.9.8-5+deb12u1
  • strongswan Debian 14, Debian 13 5.9.12-1

debian advisories DEBIAN-CVE-2023-41913

  • strongswan Ubuntu 20.04 LTS 5.8.2-1ubuntu3.6
  • strongswan Ubuntu 22.04 LTS 5.9.5-2ubuntu2.2
  • strongswan Ubuntu Pro 16.04 LTS 5.3.5-1ubuntu3.8+esm4
  • strongswan Ubuntu Pro 18.04 LTS 5.6.2-1ubuntu2.9+esm1

ubuntu advisories UBUNTU-CVE-2023-41913

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • strongswan SLE Workstation Extension 15 SP5, SLE Module for Package Hub 15 SP5, SLE Module for Basesystem 15 SP5 +1 more 5.9.11-150500.5.6.1
  • strongswan SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +5 more 5.8.2-150200.11.42.2
  • strongswan SLE Workstation Extension 15 SP4, SLE Module for Package Hub 15 SP4, SLE Module for Basesystem 15 SP4 +1 more 5.9.11-150400.19.17.2
  • strongswan SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 5.8.2-150000.4.23.2

suse advisories SUSE-SU-2023:4529-1SUSE-SU-2023:4516-1SUSE-SU-2023:4515-1SUSE-SU-2023:4514-1

  • strongswan Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 5.9.12-r0

alpine advisories ALPINE-CVE-2023-41913

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • strongswan CBL-Mariner 2.0 5.9.10-3
  • strongswan Azure Linux 3.0 5.9.12-1

azure linux advisories AZL-32071AZL-35287

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-41913 updated cvss 9.8

strongswan: buffer overflow

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
10 mo ago

Exploit prediction

2.29% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

Weakness
  • CWE-120 Buffer Copy without Checking Size of Input

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.