Integer Underflow Affecting wolfSSL/wolfssh package, versions [,5.8.4)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th 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-WOLFSSLWOLFSSH-14101642
  • published23 Nov 2025
  • disclosed21 Nov 2025
  • creditLuigino Camastra

Introduced: 21 Nov 2025

NewCVE-2025-11931  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade wolfSSL/wolfssh to version 5.8.4 or higher.

Overview

Affected versions of this package are vulnerable to Integer Underflow via the wc_XChaCha20Poly1305_Decrypt() function. An attacker can cause out-of-bounds memory access, if the wc_XChaCha20Poly1305 function is called on it directly by an application and not through TLS connections.

CVSS Base Scores

version 4.0
version 3.1