Out-of-bounds Read in Wolfssl
CVE-2024-5991
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.006 (44.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 44th percentile — 44.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
- Wolfssl — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- https://github.com/wolfSSL/wolfssl/pull/7604 (Broken Link)
- github.com/wolfSSL/wolfssl/pull/7604 (Issue Tracking, Patch)
Frequently asked questions
- What is CVE-2024-5991?
- CVE-2024-5991 is a high-severity vulnerability in Wolfssl, classified under Out-of-bounds Read. CVSS score: 7.5/10. Published 2024-08-27.
- How severe is CVE-2024-5991?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2024-5991 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.