Every CVE Search/ Get API key

CVE-2025-62291

In the eap-mschapv2 plugin (client-side) in strongSwan before 6.0.3, a malicious EAP-MSCHAPv2...

8.1 HighFix available

In the eap-mschapv2 plugin (client-side) in strongSwan before 6.0.3, a malicious EAP-MSCHAPv2 server can send a crafted message of size 6 through 8, and cause an integer underflow that potentially results in a heap-based buffer overflow.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.98%Up 0.9 points since Jan 17, 2026
90%50%10%1%

What each source reports

CVE List Score used 8.1

In the eap-mschapv2 plugin (client-side) in strongSwan before 6.0.3, a malicious EAP-MSCHAPv2 server can send a crafted message of size 6 through 8, and cause an integer underflow that potentially results in a heap-based buffer overflow.

Record
CVE-2025-62291
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-191
Updated
2026-11-02
EUVDEUVD-2026-2870 8.1

In the eap-mschapv2 plugin (client-side) in strongSwan before 6.0.3, a malicious EAP-MSCHAPv2 server can send a crafted message of size 6 through 8, and cause an integer underflow that potentially results in a heap-based buffer overflow.

Record
EUVD-2026-2870
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-p527-wjvq-vxg8 8.1

In the eap-mschapv2 plugin (client-side) in strongSwan before 6.0.3, a malicious EAP-MSCHAPv2...

In the eap-mschapv2 plugin (client-side) in strongSwan before 6.0.3, a malicious EAP-MSCHAPv2 server can send a crafted message of size 6 through 8, and cause an integer underflow that potentially results in a heap-based buffer overflow.

Record
GHSA-p527-wjvq-vxg8
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-191
Updated
2026-11-02
NVD 8.1

In the eap-mschapv2 plugin (client-side) in strongSwan before 6.0.3, a malicious EAP-MSCHAPv2 server can send a crafted message of size 6 through 8, and cause an integer underflow that potentially results in a heap-based buffer overflow.

Record
CVE-2025-62291
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-191
Updated
2026-11-02
OSVALPINE-CVE-2025-62291 8.1

In the eap-mschapv2 plugin (client-side) in strongSwan before 6.0.3, a malicious EAP-MSCHAPv2 server can send a crafted message of size 6 through 8, and cause an integer underflow that potentially results in a heap-based buffer overflow.

Record
ALPINE-CVE-2025-62291
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 8.1

In the eap-mschapv2 plugin (client-side) in strongSwan before 6.0.3, a malicious EAP-MSCHAPv2 server can send a crafted message of size 6 through 8, and cause an integer underflow that potentially results in a heap-based buffer overflow.

Record
CVE-2025-62291
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-191
Updated
2026-11-02
Show 17 moreShow less
OSVDEBIAN-CVE-2025-62291 8.1

In the eap-mschapv2 plugin (client-side) in strongSwan before 6.0.3, a malicious EAP-MSCHAPv2 server can send a crafted message of size 6 through 8, and cause an integer underflow that potentially results in a heap-based buffer overflow.

Record
DEBIAN-CVE-2025-62291
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-4070 8.1

strongswan security update

The strongSwan IPsec implementation supports both the IKEv1 and IKEv2 key exchange protocols in conjunction with the native NETKEY IPsec stack of the Linux kernel.

Security Fix(es):

In the eap-mschapv2 plugin (client-side) in strongSwan before 6.0.3, a malicious EAP-MSCHAPv2 server can send a crafted message of size 6 through 8, and cause an integer underflow that potentially results in a heap-based buffer overflow.(CVE-2025-62291)

Record
OESA-2026-4070
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-4071 8.1

strongswan security update

The strongSwan IPsec implementation supports both the IKEv1 and IKEv2 key exchange protocols in conjunction with the native NETKEY IPsec stack of the Linux kernel.

Security Fix(es):

In the eap-mschapv2 plugin (client-side) in strongSwan before 6.0.3, a malicious EAP-MSCHAPv2 server can send a crafted message of size 6 through 8, and cause an integer underflow that potentially results in a heap-based buffer overflow.(CVE-2025-62291)

Record
OESA-2026-4071
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2025-62291 8.1

In the eap-mschapv2 plugin (client-side) in strongSwan before 6.0.3, a malicious EAP-MSCHAPv2 server can send a crafted message of size 6 through 8, and cause an integer underflow that potentially results in a heap-based buffer overflow.

Record
UBUNTU-CVE-2025-62291
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVAZL-74660 No score

CVE-2025-62291 affecting package strongswan for versions less than 5.9.14-8

In the eap-mschapv2 plugin (client-side) in strongSwan before 6.0.3, a malicious EAP-MSCHAPv2 server can send a crafted message of size 6 through 8, and cause an integer underflow that potentially results in a heap-based buffer overflow.

Record
AZL-74660
Updated
2026-11-05
OSVAZL-74766 No score

CVE-2025-62291 affecting package strongswan for versions less than 5.9.10-4

In the eap-mschapv2 plugin (client-side) in strongSwan before 6.0.3, a malicious EAP-MSCHAPv2 server can send a crafted message of size 6 through 8, and cause an integer underflow that potentially results in a heap-based buffer overflow.

Record
AZL-74766
Updated
2026-11-02
OSVMGASA-2025-0272 No score

Updated strongswan packages fix security vulnerability

Buffer Overflow When Handling EAP-MSCHAPv2 Failure Requests. (CVE-2025-62291)

Record
MGASA-2025-0272
Updated
2026-11-02
OSVopenSUSE-SU-2025:15681-1 No score

strongswan-6.0.3-1.1 on GA media

These are all security issues fixed in the strongswan-6.0.3-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:15681-1
Updated
2026-11-02
OSVopenSUSE-SU-2025:20132-1 No score

Security update for strongswan

This update for strongswan fixes the following issues:

  • CVE-2025-62291: Fixed buffer overflow when handling EAP-MSCHAPv2 failure requests (bsc#1251941).
Record
openSUSE-SU-2025:20132-1
Updated
2026-11-02
OSVSUSE-SU-2025:21167-1 No score

Security update for strongswan

This update for strongswan fixes the following issues:

  • CVE-2025-62291: Fixed buffer overflow when handling EAP-MSCHAPv2 failure requests (bsc#1251941).
Record
SUSE-SU-2025:21167-1
Updated
2026-11-02
OSVSUSE-SU-2025:3834-1 No score

Security update for strongswan

This update for strongswan fixes the following issues:

  • CVE-2025-62291: fixed buffer overflow when handling EAP-MSCHAPv2 failure requests (bsc#1251941)
Record
SUSE-SU-2025:3834-1
Updated
2026-11-02
OSVSUSE-SU-2025:3855-1 No score

Security update for strongswan

This update for strongswan fixes the following issues:

  • CVE-2025-62291: fixed buffer overflow when handling EAP-MSCHAPv2 failure requests (bsc#1251941)
Record
SUSE-SU-2025:3855-1
Updated
2026-11-02
OSVSUSE-SU-2025:3856-1 No score

Security update for strongswan

This update for strongswan fixes the following issues:

  • CVE-2025-62291: fixed a buffer overflow when handling EAP-MSCHAPv2 failure requests (bsc#1251941)
Record
SUSE-SU-2025:3856-1
Updated
2026-11-02
OSVSUSE-SU-2025:3857-1 No score

Security update for strongswan

This update for strongswan fixes the following issues:

  • CVE-2025-62291: fixed buffer overflow when handling EAP-MSCHAPv2 failure requests (bsc#1251941)
Record
SUSE-SU-2025:3857-1
Updated
2026-11-02
OSVSUSE-SU-2025:3873-1 No score

Security update for strongswan

This update for strongswan fixes the following issues:

  • CVE-2025-62291: fixed a buffer overflow when handling EAP-MSCHAPv2 failure requests (bsc#1251941)
Record
SUSE-SU-2025:3873-1
Updated
2026-11-02
OSVSUSE-SU-2025:3904-1 No score

Security update for strongswan

This update for strongswan fixes the following issues:

  • CVE-2025-62291: fixed buffer overflow when handling EAP-MSCHAPv2 failure requests (bsc#1251941)
Record
SUSE-SU-2025:3904-1
Updated
2026-11-02
OSVUSN-7841-1 No score

strongswan vulnerability

Xu Biang discovered that the strongSwan client incorrectly handled EAP-MSCHAPv2 failure requests. If a user or automated system were tricked into connecting to a malicious server, a remote attacker could use this issue to cause strongSwan to crash, resulting in a denial of service, or possibly execute arbitrary code.

Record
USN-7841-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
strongswan
Alpine:v3.20
before 5.9.13-r2
5.9.13-r2
strongswan
Alpine:v3.21
before 5.9.14-r1
5.9.14-r1
strongswan
Alpine:v3.22
before 5.9.14-r1
5.9.14-r1
strongswan
Alpine:v3.23
before 5.9.14-r3
5.9.14-r3
strongswan
Alpine:v3.24
before 5.9.14-r3
5.9.14-r3
strongswan
Azure Linux:3
before 5.9.14-8
5.9.14-8
strongswan
Azure Linux:2
before 5.9.10-4
5.9.10-4
strongswan
Debian:12
before 5.9.8-5+deb12u2, plus listed versions
5.9.8-55.9.8-5+deb12u1
5.9.8-5+deb12u2
strongswan
Debian:13
before 6.0.1-6+deb13u2, plus listed versions
6.0.1-66.0.1-6+deb13u1
6.0.1-6+deb13u2
strongswan
Debian:14
before 6.0.3-1, plus listed versions
6.0.1-66.0.2-1
6.0.3-1
Show 47 moreShow less
Affected packages
PackageAffectedFixed
strongswan
Debian:11
before 5.9.1-1+deb11u5, plus listed versions
5.9.1-15.9.1-1+deb11u15.9.1-1+deb11u25.9.1-1+deb11u35.9.1-1+deb11u4
5.9.1-1+deb11u5
strongswan
Mageia:9
before 5.9.14-1.1.mga9
5.9.14-1.1.mga9
strongswan
openEuler:22.03-LTS-SP4
before 5.9.7-15.oe2203sp4
5.9.7-15.oe2203sp4
strongswan
openEuler:20.03-LTS-SP4
before 5.7.2-21.oe2003sp4
5.7.2-21.oe2003sp4
strongswan
SUSE:Linux Enterprise Server 16.0
before 6.0.1-160000.3.1
6.0.1-160000.3.1
strongswan
SUSE:Linux Enterprise Server for SAP applications 16.0
before 6.0.1-160000.3.1
6.0.1-160000.3.1
strongswan
SUSE:Linux Enterprise Module for Basesystem 15 SP7
before 5.9.14-150700.3.3.1
5.9.14-150700.3.3.1
strongswan
SUSE:Linux Enterprise Module for Package Hub 15 SP7
before 5.9.14-150700.3.3.1
5.9.14-150700.3.3.1
strongswan
SUSE:Linux Enterprise Workstation Extension 15 SP7
before 5.9.14-150700.3.3.1
5.9.14-150700.3.3.1
strongswan
SUSE:Linux Enterprise Module for Basesystem 15 SP6
before 5.9.12-150600.3.5.2
5.9.12-150600.3.5.2
strongswan
SUSE:Linux Enterprise Module for Package Hub 15 SP6
before 5.9.12-150600.3.5.2
5.9.12-150600.3.5.2
strongswan
SUSE:Linux Enterprise Workstation Extension 15 SP6
before 5.9.12-150600.3.5.2
5.9.12-150600.3.5.2
strongswan
openSUSE:Leap 15.6
before 5.9.12-150600.3.5.2
5.9.12-150600.3.5.2
strongswan
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS
before 5.9.11-150400.19.20.1
5.9.11-150400.19.20.1
strongswan
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS
before 5.9.11-150400.19.20.1
5.9.11-150400.19.20.1
strongswan
SUSE:Linux Enterprise Server 15 SP4-LTSS
before 5.9.11-150400.19.20.1
5.9.11-150400.19.20.1
strongswan
SUSE:Linux Enterprise Server for SAP Applications 15 SP4
before 5.9.11-150400.19.20.1
5.9.11-150400.19.20.1
strongswan
SUSE:Manager Proxy LTS 4.3
before 5.9.11-150400.19.20.1
5.9.11-150400.19.20.1
strongswan
SUSE:Manager Server LTS 4.3
before 5.9.11-150400.19.20.1
5.9.11-150400.19.20.1
strongswan
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS
before 5.8.2-150200.11.45.1
5.8.2-150200.11.45.1
strongswan
SUSE:Linux Enterprise Server 15 SP3-LTSS
before 5.8.2-150200.11.45.1
5.8.2-150200.11.45.1
strongswan
SUSE:Linux Enterprise Server for SAP Applications 15 SP3
before 5.8.2-150200.11.45.1
5.8.2-150200.11.45.1
strongswan
SUSE:Enterprise Storage 7.1
before 5.8.2-150200.11.45.1
5.8.2-150200.11.45.1
strongswan
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS
before 5.9.11-150500.5.9.1
5.9.11-150500.5.9.1
strongswan
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS
before 5.9.11-150500.5.9.1
5.9.11-150500.5.9.1
strongswan
SUSE:Linux Enterprise Server 15 SP5-LTSS
before 5.9.11-150500.5.9.1
5.9.11-150500.5.9.1
strongswan
SUSE:Linux Enterprise Server for SAP Applications 15 SP5
before 5.9.11-150500.5.9.1
5.9.11-150500.5.9.1
strongswan
SUSE:Linux Enterprise Server 12 SP5-LTSS
before 5.1.3-26.29.1
5.1.3-26.29.1
strongswan
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5
before 5.1.3-26.29.1
5.1.3-26.29.1
strongswan
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
4.6.4-95.1.0-25.1.0-35.1.1-0ubuntu15.1.1-0ubuntu2
Show 25 moreShow less
5.1.1-0ubuntu35.1.1-0ubuntu45.1.1-0ubuntu55.1.1-0ubuntu75.1.1-0ubuntu145.1.1-0ubuntu175.1.2~dr3+git20130120-0ubuntu25.1.2~dr3+git20130120-0ubuntu35.1.2~rc1-0ubuntu35.1.2~rc1-0ubuntu45.1.2~rc2-0ubuntu25.1.2-0ubuntu15.1.2-0ubuntu25.1.2-0ubuntu2.25.1.2-0ubuntu2.35.1.2-0ubuntu2.45.1.2-0ubuntu2.55.1.2-0ubuntu2.65.1.2-0ubuntu2.75.1.2-0ubuntu2.85.1.2-0ubuntu2.105.1.2-0ubuntu2.115.1.2-0ubuntu2.11+esm15.1.2-0ubuntu2.11+esm25.1.2-0ubuntu2.11+esm3
None known
strongswan
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
5.1.2-0ubuntu65.1.2-0ubuntu75.1.2-0ubuntu85.3.5-1ubuntu15.3.5-1ubuntu2
Show 12 moreShow less
5.3.5-1ubuntu35.3.5-1ubuntu3.15.3.5-1ubuntu3.25.3.5-1ubuntu3.35.3.5-1ubuntu3.45.3.5-1ubuntu3.55.3.5-1ubuntu3.75.3.5-1ubuntu3.85.3.5-1ubuntu3.8+esm15.3.5-1ubuntu3.8+esm25.3.5-1ubuntu3.8+esm35.3.5-1ubuntu3.8+esm4
None known
strongswan
Ubuntu:Pro:FIPS-updates:16.04:LTS
All versions, plus listed versions
5.3.5-1ubuntu3.fips.3.4.15.3.5-1ubuntu3.fips.3.4.25.3.5-1ubuntu3.fips.3.8.15.3.5-1ubuntu3.fips.3.8.25.3.5-1ubuntu3.fips.3.8.35.3.5-1ubuntu3.fips.3.8.65.3.5-1ubuntu3.fips.3.8.7
None known
strongswan
Ubuntu:Pro:FIPS:16.04:LTS
All versions, plus listed versions
5.3.5-1ubuntu3.fips.3.15.3.5-1ubuntu3.fips.3.25.3.5-1ubuntu3.fips.3.3
None known
strongswan
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
5.5.1-4ubuntu25.5.1-4ubuntu35.6.1-2ubuntu15.6.1-2ubuntu25.6.1-2ubuntu3
Show 11 moreShow less
5.6.1-2ubuntu45.6.2-1ubuntu25.6.2-1ubuntu2.25.6.2-1ubuntu2.35.6.2-1ubuntu2.45.6.2-1ubuntu2.55.6.2-1ubuntu2.65.6.2-1ubuntu2.75.6.2-1ubuntu2.85.6.2-1ubuntu2.95.6.2-1ubuntu2.9+esm1
None known
strongswan
Ubuntu:Pro:FIPS-updates:18.04:LTS
All versions, plus listed versions
5.6.2-1ubuntu2.fips.2.5.15.6.2-1ubuntu2.fips.2.7.15.6.2-1ubuntu2.fips.2.7.25.6.2-1ubuntu2.fips.2.8.15.6.2-1ubuntu2.fips.2.95.6.2-1ubuntu2.fips.2.9+esm1
None known
strongswan
Ubuntu:Pro:FIPS:18.04:LTS
All versions, plus listed versions
5.6.2-1ubuntu2.fips.2.4.25.6.2-1ubuntu2.fips.2.5.1
None known
strongswan
Ubuntu:20.04:LTS
All versions, plus listed versions
5.7.2-1ubuntu35.8.1-1ubuntu15.8.2-1ubuntu15.8.2-1ubuntu25.8.2-1ubuntu3
Show 6 moreShow less
5.8.2-1ubuntu3.15.8.2-1ubuntu3.25.8.2-1ubuntu3.35.8.2-1ubuntu3.45.8.2-1ubuntu3.55.8.2-1ubuntu3.6
None known
strongswan
Ubuntu:Pro:FIPS-updates:20.04:LTS
All versions, plus listed versions
5.8.2-1ubuntu3.fips.3.1.25.8.2-1ubuntu3.fips.3.3.15.8.2-1ubuntu3.fips.3.4.15.8.2-1ubuntu3.fips.3.55.8.2-1ubuntu3.fips.3.6
None known
strongswan
Ubuntu:Pro:FIPS:20.04:LTS
All versions, plus listed versions
5.8.2-1ubuntu3.fips.3.1.2
None known
strongswan
Ubuntu:22.04:LTS
before 5.9.5-2ubuntu2.4, plus listed versions
5.9.1-1ubuntu35.9.1-1ubuntu3.15.9.4-1ubuntu15.9.4-1ubuntu25.9.4-1ubuntu3
Show 6 moreShow less
5.9.4-1ubuntu45.9.5-2ubuntu15.9.5-2ubuntu25.9.5-2ubuntu2.15.9.5-2ubuntu2.25.9.5-2ubuntu2.3
5.9.5-2ubuntu2.4
strongswan
Ubuntu:Pro:FIPS-preview:22.04:LTS
All versions, plus listed versions
5.9.5-2ubuntu2.1+Fips15.9.5-2ubuntu2.2+Fips1
None known
strongswan
Ubuntu:Pro:FIPS-updates:22.04:LTS
before 5.9.5-2ubuntu2.4+Fips1, plus listed versions
5.9.5-2ubuntu2.1+Fips15.9.5-2ubuntu2.2+Fips15.9.5-2ubuntu2.3+Fips1
5.9.5-2ubuntu2.4+Fips1
strongswan
Ubuntu:24.04:LTS
before 5.9.13-2ubuntu4.24.04.1, plus listed versions
5.9.11-1ubuntu15.9.11-1ubuntu25.9.12-1ubuntu15.9.13-2ubuntu15.9.13-2ubuntu35.9.13-2ubuntu4
5.9.13-2ubuntu4.24.04.1
strongswan
Ubuntu:25.10
before 6.0.1-6ubuntu4.1, plus listed versions
5.9.13-2ubuntu45.9.13-2ubuntu56.0.1-6ubuntu26.0.1-6ubuntu4
6.0.1-6ubuntu4.1
strongswan
Ubuntu:26.04:LTS
before 6.0.1-6ubuntu5, plus listed versions
6.0.1-6ubuntu4
6.0.1-6ubuntu5
strongswan
openSUSE:Tumbleweed
before 6.0.3-1.1
6.0.3-1.1
strongswan
openSUSE:Leap 16.0
before 6.0.1-160000.3.1
6.0.1-160000.3.1

History

History
RecordedChangedSources
factsOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-62291 is a high vulnerability (CVSS 8.1) in Strongswan, published October 27, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.98%, the 62nd percentile. Fixed in strongswan 5.9.13-r2.

References

Show 21 moreShow less
MoveEnter Open