Skip to content
CVE PROGRAM SOURCE RECORD2.1 Low

CVE-2026-5772

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

wolfSSL wolfSSL

Default version status: unaffected

  • 0 to ≤ 5.9.0affected

References