Integer Underflow Affecting strongswan package, versions <5.9.14-r3


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.91% (58th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE324-STRONGSWAN-17298245
  • published11 Jun 2026
  • disclosed16 Jan 2026

Introduced: 16 Jan 2026

CVE-2025-62291  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade Alpine:3.24 strongswan to version 5.9.14-r3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream strongswan package and not the strongswan package as distributed by Alpine. See How to fix? for Alpine:3.24 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1