Integer Underflow (Wrap or Wraparound) Affecting wolfssl/wolfssl package, versions [,5.9.1)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (8th 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-WOLFSSLWOLFSSL-15990751
  • published12 Apr 2026
  • disclosed10 Apr 2026
  • creditUnknown

Introduced: 10 Apr 2026

NewCVE-2026-5188  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade wolfssl/wolfssl to version 5.9.1 or higher.

Overview

Affected versions of this package are vulnerable to Integer Underflow (Wrap or Wraparound) in the parsing of the Subject Alternative Name extension of X.509 certificates due to improper handling of entry lengths in the process. An attacker can cause incorrect processing of certificate data by supplying a malformed certificate with an entry length larger than the enclosing sequence, resulting in an internal length counter wrap. This is only exploitable if the original ASN.1 parsing implementation is enabled.

CVSS Base Scores

version 4.0
version 3.1