CVE-2026-5772

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

State
Published
Severity
2.1 Low
Published
Apr 9, 2026
Updated
Apr 10, 2026
Reserved
Apr 8, 2026

Read the record on cve.org

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

CVSSScoreVectorSource
4.02.1 LowCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NwolfSSL

Weaknesses

Affected Products

ProductVersions
wolfSSLwolfSSL
  • 5.9.0 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.