NVD Vulnerability Detail
Search Exploit, PoC
CVE-2026-6331
Summary

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.

Publication Date June 26, 2026, 7:17 a.m.
Registration Date June 27, 2026, 4:31 a.m.
Last Update June 26, 2026, 11:17 p.m.
Related information, measures and tools
Common Vulnerabilities List