# CVE-2026-8720: HMAC-BLAKE2 final discards message when key length exceeds block size

- Severity: Medium 5.9 (CVSS:4.0, scored by wolfSSL) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-06-25T21:18:29.260Z
- Modified: 2026-06-27T19:43:04.870Z
- Weaknesses: CWE-354
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: wolfSSL

## Description

wc_Blake2bHmacFinal and wc_Blake2sHmacFinal discard the message when the key length exceeds the block size, producing a MAC that is independent of the input. When the supplied key is longer than the BLAKE2 block size the key-hashing branch reinitialized the running hash state, discarding the accumulated message data, so the resulting MAC depended only on the key and not on the message being authenticated. This bug is specific to the HMAC-BLAKE2 APIs that were added in wolfSSL version 5.9.0.

(As written by CVE List.)

## Affected

- wolfSSL wolfSSL: from 5.9.0 up to 5.9.1; from 5.9.0 before 5.9.2

## Every score

- wolfSSL: CVSS:4.0 5.9 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: 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`

## References

- <https://github.com/wolfSSL/wolfssl/pull/10447> (issue-tracking, patch)
- <https://www.wolfssl.com/docs/security-vulnerabilities/> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-8720](https://www.cve.org/CVERecord?id=CVE-2026-8720), CVE Terms of Use, modified 2026-06-26
- NVD: [CVE-2026-8720](https://nvd.nist.gov/vuln/detail/CVE-2026-8720), Public domain, modified 2026-06-27

---

Page: https://cve.day/CVE-2026-8720 · Whole record: https://cve.day/CVE-2026-8720.json · Rebuilt by cve.day 2026-11-25T22:59:26.443Z
