{"id":"JLSEC-2026-685","summary":"In function MatchDomainName(), input param str is treated as a NULL terminated string despite...","details":"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.","modified":"2026-07-18T00:02:19.780595556Z","published":"2026-07-14T21:41:35.775Z","upstream":["CVE-2024-5991","GHSA-jwjf-h4v6-qrpp","EUVD-2024-47107"],"database_specific":{"license":"CC-BY-4.0","sources":[{"html_url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5991","database_specific":{"status":"Analyzed"},"id":"CVE-2024-5991","imported":"2026-07-17T22:24:51.693Z","modified":"2026-06-17T08:17:03.577Z","published":"2024-08-27T19:15:18.080Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2024-5991"},{"html_url":"https://github.com/advisories/GHSA-jwjf-h4v6-qrpp","id":"GHSA-jwjf-h4v6-qrpp","imported":"2026-07-17T22:24:51.860Z","modified":"2024-09-07T00:31:29Z","published":"2024-08-27T21:31:14Z","url":"https://api.github.com/advisories/GHSA-jwjf-h4v6-qrpp"},{"imported":"2026-07-17T22:25:01.699Z","modified":"2024-08-27T20:06:24Z","published":"2024-08-27T18:33:27Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2024-47107","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-47107","id":"EUVD-2024-47107"}]},"references":[{"type":"WEB","url":"https://github.com/advisories/GHSA-jwjf-h4v6-qrpp"},{"type":"WEB","url":"https://github.com/wolfSSL/wolfssl/pull/7604"},{"type":"WEB","url":"https://https://github.com/wolfSSL/wolfssl/pull/7604"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5991"}],"affected":[{"package":{"name":"wolfSSL_jll","ecosystem":"Julia","purl":"pkg:julia/wolfSSL_jll?uuid=98c43586-9870-5ae5-ab22-acc77b9bbdb5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.7.2+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-685.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}