{"id":"JLSEC-2026-685","aliases":["JLSEC-2026-685"],"related":["CVE-2024-5991","GHSA-jwjf-h4v6-qrpp","EUVD-2024-47107"],"kind":"vulnerability","state":"published","title":"In function MatchDomainName(), input param str is treated as a NULL terminated string despite being...","summary":"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.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"jlsec"}],"published":"2026-07-14T21:41:35.775Z","modified":"2026-07-25T18:24:46.151Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Julia Security Advisories","scheme":"CVSS:4.0","vector":"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"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.7.2+0"}],"ecosystem":"Julia","package":"wolfSSL_jll","purl":"pkg:julia/wolfSSL_jll?uuid=98c43586-9870-5ae5-ab22-acc77b9bbdb5","source":"jlsec"}],"references":[{"url":"https://github.com/advisories/GHSA-jwjf-h4v6-qrpp","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/wolfSSL/wolfssl/pull/7604","tags":["web"],"sources":["jlsec"]},{"url":"https://https://github.com/wolfSSL/wolfssl/pull/7604","tags":["web"],"sources":["jlsec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5991","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-685","url":"https://osv.dev/vulnerability/JLSEC-2026-685","licence":"CC-BY-4.0","modified":"2026-07-25T18:24:46.151Z"}],"updatedAt":"2026-11-25T22:56:26.202Z"}