| Name | CVE-2025-62291 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4359-1, DSA-6041-1 |
| Debian Bugs | 1120004 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| strongswan (PTS) | bullseye | 5.9.1-1+deb11u4 | vulnerable |
| bullseye (security) | 5.9.1-1+deb11u5 | fixed | |
| bookworm, bookworm (security) | 5.9.8-5+deb12u2 | fixed | |
| trixie (security), trixie | 6.0.1-6+deb13u2 | fixed | |
| forky, sid | 6.0.4-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| strongswan | source | bullseye | 5.9.1-1+deb11u5 | DLA-4359-1 | ||
| strongswan | source | bookworm | 5.9.8-5+deb12u2 | DSA-6041-1 | ||
| strongswan | source | trixie | 6.0.1-6+deb13u2 | DSA-6041-1 | ||
| strongswan | source | (unstable) | 6.0.3-1 | 1120004 |
https://www.strongswan.org/blog/2025/10/27/strongswan-vulnerability-(cve-2025-62291).html
Patch: https://download.strongswan.org/security/CVE-2025-62291/