CVE 5.9 MEDIUM

HMAC-BLAKE2 final discards message when key length exceeds block size_CVE-2026-8720

5.9 / 10
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

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.

Basic Information

ID CVE-2026-8720
Source wolfSSL
Published Jun 25, 2026 at 21:18

Affected Product

Vendor wolfSSL
Product wolfSSL
Version 5.9.0
Affected Versions wolfSSL wolfSSL 5.9.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.