Integer underflow in strongSwan - CVE-2025-62291

 

Integer underflow in strongSwan - CVE-2025-62291

Published: October 27, 2025


Vulnerability identifier: #VU117683
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-62291
CWE-ID: CWE-191
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the eap-mschapv2 plugin when handling failure requests. A remote attacker can trick the victim into connecting to a malicious server, trigger an integer underflow and execute arbitrary code on the target system.




Affected software

strongSwan
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP3
SUSE Manager Server 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Proxy 4.3
Debian Linux
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Workstation Extension 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
SUSE Package Hub 15
Basesystem Module
openSUSE Leap
Ubuntu
Fedora
strongswan-doc
strongswan-libs0
strongswan-libs0-debuginfo
strongswan-debugsource
strongswan
strongswan-hmac
strongswan-ipsec-debuginfo
strongswan-ipsec
strongswan-debuginfo
strongswan (Ubuntu package)
strongswan (Debian package)
strongswan-mysql
strongswan-sqlite
strongswan-mysql-debuginfo
strongswan-sqlite-debuginfo
strongswan-nm
strongswan-nm-debuginfo

How to mitigate CVE-2025-62291

Install updates from vendor's website.

strongSwan - update to 6.0.3
strongswan-doc - addressed in versions 5.1.3-26.29.1, 5.8.2-150200.11.45.1, 5.9.11-150400.19.20.1, 5.9.11-150500.5.9.1, 5.9.12-150600.3.5.2, 5.9.14-150700.3.3.1
strongswan-libs0 - addressed in versions 5.1.3-26.29.1, 5.8.2-150200.11.45.1, 5.9.11-150400.19.20.1, 5.9.11-150500.5.9.1, 5.9.12-150600.3.5.2, 5.9.14-150700.3.3.1
strongswan-libs0-debuginfo - addressed in versions 5.1.3-26.29.1, 5.8.2-150200.11.45.1, 5.9.11-150400.19.20.1, 5.9.11-150500.5.9.1, 5.9.12-150600.3.5.2, 5.9.14-150700.3.3.1
strongswan-debugsource - addressed in versions 5.1.3-26.29.1, 5.8.2-150200.11.45.1, 5.9.11-150400.19.20.1, 5.9.11-150500.5.9.1, 5.9.12-150600.3.5.2, 5.9.14-150700.3.3.1
strongswan - addressed in versions 5.1.3-26.29.1, 5.8.2-150200.11.45.1, 5.9.11-150400.19.20.1, 5.9.11-150500.5.9.1, 5.9.12-150600.3.5.2, 5.9.14-150700.3.3.1
strongswan-hmac - addressed in versions 5.1.3-26.29.1, 5.8.2-150200.11.45.1, 5.9.11-150400.19.20.1, 5.9.11-150500.5.9.1, 5.9.12-150600.3.5.2, 5.9.14-150700.3.3.1
strongswan-ipsec-debuginfo - addressed in versions 5.1.3-26.29.1, 5.8.2-150200.11.45.1, 5.9.11-150400.19.20.1, 5.9.11-150500.5.9.1, 5.9.12-150600.3.5.2, 5.9.14-150700.3.3.1
strongswan-ipsec - addressed in versions 5.1.3-26.29.1, 5.8.2-150200.11.45.1, 5.9.11-150400.19.20.1, 5.9.11-150500.5.9.1, 5.9.12-150600.3.5.2, 5.9.14-150700.3.3.1
strongswan-debuginfo - addressed in versions 5.8.2-150200.11.45.1, 5.9.11-150400.19.20.1, 5.9.11-150500.5.9.1, 5.9.12-150600.3.5.2, 5.9.14-150700.3.3.1
strongswan (Ubuntu package) - addressed in versions 5.9.5-2ubuntu2.4, 5.9.13-2ubuntu4.24.04.1, 5.9.13-2ubuntu4.25.04.1, 6.0.1-6ubuntu4.1
strongswan (Debian package) - addressed in versions 5.9.8-5+deb12u2, 6.0.1-6+deb13u2
strongswan-mysql - addressed in versions 5.9.11-150400.19.20.1, 5.9.11-150500.5.9.1, 5.9.12-150600.3.5.2
strongswan-sqlite - addressed in versions 5.9.11-150400.19.20.1, 5.9.11-150500.5.9.1, 5.9.12-150600.3.5.2
strongswan-mysql-debuginfo - addressed in versions 5.9.11-150400.19.20.1, 5.9.11-150500.5.9.1, 5.9.12-150600.3.5.2
strongswan-sqlite-debuginfo - addressed in versions 5.9.11-150400.19.20.1, 5.9.11-150500.5.9.1, 5.9.12-150600.3.5.2
strongswan-nm - addressed in versions 5.9.11-150400.19.20.1, 5.9.11-150500.5.9.1, 5.9.12-150600.3.5.2, 5.9.14-150700.3.3.1
strongswan-nm-debuginfo - addressed in versions 5.9.11-150400.19.20.1, 5.9.11-150500.5.9.1, 5.9.12-150600.3.5.2, 5.9.14-150700.3.3.1
strongswan - addressed in versions 6.0.4-2.fc42, 6.0.4-2.fc43, 6.0.4-2.fc44

External References

Related Security Bulletins