Vulnerability · Published Jan 16, 2026 · Assigned by mitre

CVE-2025-62291

High 8.1

In plain English

A high-severity security flaw in strongSwan from strongSwan. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)1.0%top 37.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20strongswan5.9.13-r2ALPINE-CVE-2025-62291
Alpine:v3.21strongswan5.9.14-r1ALPINE-CVE-2025-62291
Alpine:v3.22strongswan5.9.14-r1ALPINE-CVE-2025-62291
Alpine:v3.23strongswan5.9.14-r3ALPINE-CVE-2025-62291
Alpine:v3.24strongswan5.9.14-r3ALPINE-CVE-2025-62291
Debian:12strongswan5.9.8-5+deb12u2DEBIAN-CVE-2025-62291
Debian:12strongswan5.9.8-5+deb12u2DSA-6041-1
Debian:13strongswan6.0.1-6+deb13u2DEBIAN-CVE-2025-62291
Debian:13strongswan6.0.1-6+deb13u2DSA-6041-1
Debian:14strongswan6.0.3-1DEBIAN-CVE-2025-62291
Ubuntu:22.04:LTSstrongswan5.9.5-2ubuntu2.4USN-7841-1
Ubuntu:22.04:LTSstrongswan5.9.5-2ubuntu2.4UBUNTU-CVE-2025-62291
Ubuntu:24.04:LTSstrongswan5.9.13-2ubuntu4.24.04.1USN-7841-1
Ubuntu:24.04:LTSstrongswan5.9.13-2ubuntu4.24.04.1UBUNTU-CVE-2025-62291
Ubuntu:25.10strongswan6.0.1-6ubuntu4.1UBUNTU-CVE-2025-62291
Ubuntu:25.10strongswan6.0.1-6ubuntu4.1USN-7841-1
Ubuntu:26.04:LTSstrongswan6.0.1-6ubuntu5UBUNTU-CVE-2025-62291

Affected products (as reported)

VendorProductVersions
strongSwan strongSwan 4.2.12 – before 6.0.3

Weakness: CWE-191 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References