# JLSEC-2026-685: In function MatchDomainName(), input param str is treated as a NULL terminated string despite being...

- Severity: High 7.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-07-14T21:41:35.775Z
- Modified: 2026-07-25T18:24:46.151Z
- Related: CVE-2024-5991, GHSA-jwjf-h4v6-qrpp, EUVD-2024-47107

## 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.

(As written by Julia Security Advisories.)

## Affected

- wolfSSL_jll (Julia): before 5.7.2+0

## Every score

- Julia Security Advisories: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Julia Security Advisories: CVSS:4.0 `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`

## References

- <https://github.com/advisories/GHSA-jwjf-h4v6-qrpp> (web)
- <https://github.com/wolfSSL/wolfssl/pull/7604> (web)
- <https://https://github.com/wolfSSL/wolfssl/pull/7604> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-5991> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-685](https://osv.dev/vulnerability/JLSEC-2026-685), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-685 · Whole record: https://cve.day/JLSEC-2026-685.json · Rebuilt by cve.day 2026-11-25T22:56:26.202Z
