CVE-2026-5772

LOW

MatchDomainName 1-Byte Stack Buffer Over-Read in Hostname Validation

Title source: cna

Description

A 1-byte stack buffer over-read was identified in the MatchDomainName function (src/internal.c) during wildcard hostname validation when the LEFT_MOST_WILDCARD_ONLY flag is active. If a wildcard * exhausts the entire hostname string, the function reads one byte past the buffer without a bounds check, which could cause a crash.

Scores

CVSS v4 2.1
EPSS 0.0005
EPSS Percentile 14.4%
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Details

CWE
CWE-126
Status published
Products (1)
wolfSSL/wolfSSL < 5.9.0
Published Apr 09, 2026
Tracked Since Apr 10, 2026