CVE-2024-5991
Fixed in a distro release EPSS <1%CVSS 10.0
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.
Products: wolfssl
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | wolfssl | no fix |
| Debian 13 | wolfssl | 5.7.2-0.1 |
| Ubuntu 16.04 LTS | wolfssl | no fix |
| Ubuntu 18.04 LTS | wolfssl | no fix |
| Ubuntu 20.04 LTS | wolfssl | no fix |
| Ubuntu 22.04 LTS | wolfssl | no fix |
| Ubuntu 24.04 LTS | wolfssl | no fix |
| Ubuntu 25.10 | wolfssl | no fix |
| Ubuntu 26.04 LTS | wolfssl | no fix |
| Ubuntu 26.10 | wolfssl | no fix |