CVE-2024-5991 - CVE House
Back to Database
Status published Critical CVE-2024-5991

Buffer overread in domain name matching

Vulnerability Description

In function MatchDomainName(), input param str is treated as a NULL terminated string despite being user provided and unchecked. Specifically, the function X509_check_host() takes in a pointer and length to check against, with no requirements that it be NULL terminated. If a caller was attempting to do a name check on a non-NULL terminated buffer, the code would read beyond the bounds of the input array until it found a NULL terminator.This issue affects wolfSSL: through 5.7.0.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-5991

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

wolfSSL
Vulnerable Versions:
0

Timeline

Official Publish: August 27th, 2024
Last Modified: August 27th, 2024
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)