Integer Underflow (Wrap or Wraparound) Affecting strongswan package, versions [4.2.12,6.0.3)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-UNMANAGED-STRONGSWAN-15032941
  • published18 Jan 2026
  • disclosed16 Jan 2026
  • creditUnknown

Introduced: 16 Jan 2026

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

How to fix?

Upgrade strongswan to version 6.0.3 or higher.

Overview

Affected versions of this package are vulnerable to Integer Underflow (Wrap or Wraparound) via the process_peer_failure function when processing crafted messages of specific sizes. An attacker can execute arbitrary code or cause a denial of service by sending specially crafted EAP-MSCHAPv2 messages to the client.

CVSS Base Scores

version 4.0
version 3.1