# JLSEC-2026-749: HMAC zero-length tag forgery in `EVP_DigestVerifyFinal`, where a zero-length tag could be accepted...

- 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:H/A:N`
- 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:51.878Z
- Related: CVE-2026-6331, GHSA-5hpf-pc4x-3jcf, EUVD-2026-39565

## Description

HMAC zero-length tag forgery in `EVP_DigestVerifyFinal`, where a zero-length tag could be accepted as valid during HMAC verification. In the OpenSSL-compatibility HMAC verify path the supplied signature length was only checked as not exceeding the MAC length, so a zero-length or otherwise truncated tag could pass verification. The fix requires the supplied tag length to exactly equal the MAC length and rejects a zero-length MAC, so a forged short or empty tag is no longer accepted.

(As written by Julia Security Advisories.)

## Affected

- wolfSSL_jll (Julia): before 5.9.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:H/A:N`
- Julia Security Advisories: CVSS:4.0 `CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/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-5hpf-pc4x-3jcf> (web)
- <https://github.com/wolfSSL/wolfssl/pull/10192> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-6331> (web)
- <https://www.wolfssl.com/docs/security-vulnerabilities> (web)
- <https://www.wolfssl.com/docs/security-vulnerabilities/> (web)

## Sources

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

---

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