VULNERABILITY INTELLIGENCE

CVE-2024-5991

CVSS score7.5 HIGH
EPSS probability0.56%
CISA KEVNot currently listed
Published2024-08-27
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Weakness classification

  • facts@wolfssl.com: CWE-125
  • nvd@nist.gov: CWE-125

Primary references