MatchDomainName 1-Byte Stack Buffer Over-Read in Hostname Validation
wolfSSL
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| wolfSSL wolfSSL |
| No fix yet |
Original 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.
From the CVE record · wolfSSL