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.
Conclusion & alert: CVE-2024-5991 is rated Moderate Risk (55.1/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.56%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.14% | 0.56% | +0.41% |
| 2 | 2026-01-21 | 0.21% | 0.14% | -0.07% |
| 3 | 2026-01-16 | — | 0.21% | — |
Full EPSS history (14 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 10.0 | 4.0 | CRITICAL |
|
— | — | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
critical | CVE-2024-5991: 1 source package rows (wolfssl); 19 state rows across 4 repos (3.20-community, 3.21-community, 3.22-community, edge-community); fixed 4, open 15. | https://security.alpinelinux.org/vuln/CVE-2024-5991 |
debian
|
not yet assigned | CVE-2024-5991 not yet assigned priority: Debian including 1 source packages (wolfssl), 4 status rows across 4 suites (bookworm, bullseye, sid, trixie): open 2, resolved 2. | https://security-tracker.debian.org/tracker/CVE-2024-5991 |
ubuntu
|
medium | CVE-2024-5991 medium priority: Ubuntu including 1 source packages (wolfssl), 9 status rows across 9 suites (bionic, focal, jammy, noble, oracular, plucky, questing, upstream, xenial): needs-triage 7, ignored 2. | https://ubuntu.com/security/CVE-2024-5991 |
| URL | Tags |
|---|---|
| https://https://github.com/wolfSSL/wolfssl/pull/7604 | Broken Link |
| https://github.com/wolfSSL/wolfssl/pull/7604 | Issue Tracking Patch |