CVE-2025-62291 Details
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.
A vulnerability exists in the EAP-MSCHAPv2 plugin of strongSwan versions prior to 6.0.3. The issue arises when the plugin improperly validates the length of EAP-MSCHAPv2 Failure Request packets on the client side. This oversight can cause an integer underflow, creating a potential for a heap-based buffer overflow. Such a buffer overflow could be exploited to execute arbitrary code remotely.
Users can upgrade to strongSwan version 6.0.3 or apply the available patch. Instructions for applying the patch are provided on the strongSwan website.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 16, 2026CISA-ADP
Assessed Jan 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2025/11/msg00002.html | CVE | AdvisoryMailing ListRemedy |
| https://github.com/strongswan/strongswan/commits/master/src/libcharon/plugins/eap_mschapv2 | [email protected] | Source CodeVendor |
| https://github.com/strongswan/strongswan/releases | [email protected] | Release NotesVendor |
| https://www.strongswan.org/blog/2025/10/27/strongswan-vulnerability-%28cve-2025-62291%29.html | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-191 | Integer Underflow (Wrap or Wraparound) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| strongSwan | >= 4.2.12, < 6.0.3 (semver) |
CPE
Remediation
| |
| Debian | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 16, 2026 | New CVE Received | [email protected] |
| Jan 16, 2026 | CVE Modified | CVE |
Volerion