Out-of-bounds read in wolfSSL - CVE-2026-5772

 

Out-of-bounds read in wolfSSL - CVE-2026-5772

Published: April 14, 2026


Vulnerability identifier: #VU125941
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-5772
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to an out-of-bounds read in MatchDomainName in src/internal.c when processing wildcard patterns with the LEFT_MOST_WILDCARD_ONLY flag active. A remote attacker can supply a crafted wildcard pattern to cause a denial of service.

The issue is a 1-byte stack buffer over-read that occurs when the wildcard exhausts the entire hostname string.


Affected software

wolfSSL

How to mitigate CVE-2026-5772

Install security update from vendor's website.

wolfSSL - update to 5.9.1

External References

Related Security Bulletins