{"id":"CVE-2024-5991","published":"2024-08-27T18:33:27Z","modified":"2024-08-27T20:06:24Z","title":"Buffer overread in domain name matching","vendor":"wolfSSL","product":"wolfSSL","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00565,"percentile":0.47822,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://https://github.com/wolfSSL/wolfssl/pull/7604","tags":[]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":9.56},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"wolfssl","affectedVersions":[{"vendor":"wolfSSL","product":"wolfSSL","versions":["<= 5.7.0"]}],"solutions":{"items":["Fixed in the following github pull request  https://https://github.com/wolfSSL/wolfssl/pull/7604"],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-100","name":"Overflow Buffers"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-08-27T20:04:54.798411Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-47107","exploited":false,"provenance":"source"}}