# JLSEC-2026-740: A 1-byte stack buffer over-read was identified in the MatchDomainName function (`src/internal.c`)...

- Severity: Medium 5.3 (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:L`
- 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:50.631Z
- Related: CVE-2026-5772, GHSA-6v2v-jgg9-h79w, EUVD-2026-21218

## Description

A 1-byte stack buffer over-read was identified in the MatchDomainName function (`src/internal.c`) during wildcard hostname validation when the `LEFT_MOST_WILDCARD_ONLY` flag is active.  If a wildcard * exhausts the entire hostname string, the function reads one byte past the buffer without a bounds check, which could cause a crash.

(As written by Julia Security Advisories.)

## Affected

- wolfSSL_jll (Julia): before 5.9.2+0

## Every score

- Julia Security Advisories: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Julia Security Advisories: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/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-6v2v-jgg9-h79w> (web)
- <https://github.com/wolfSSL/wolfssl/pull/10119> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-5772> (web)

## Sources

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

---

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