Buffer Over-read 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.05% (15th 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-15990485
  • published12 Apr 2026
  • disclosed9 Apr 2026
  • creditUnknown

Introduced: 9 Apr 2026

NewCVE-2026-5772  (opens in a new tab)
CWE-126  (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 Buffer Over-read in the MatchDomainName function during wildcard hostname validation when the LEFT_MOST_WILDCARD_ONLY flag is active. An attacker can cause a crash by supplying a crafted hostname that exhausts the entire string, resulting in a one-byte stack buffer over-read.

CVSS Base Scores

version 4.0
version 3.1