CVE-2026-6331

HIGH

wolfSSL - HMAC Zero-Length Tag Forgery in EVP_DigestVerifyFinal

Title source: rule
STIX 2.1

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.

Scores

CVSS v3 7.5
EPSS 0.0015
EPSS Percentile 4.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-347
Status published
Products (2)
wolfSSL/wolfSSL 3.15.5 - 5.9.1
wolfssl/wolfssl 3.15.5 - 5.9.2
Published Jun 25, 2026
Tracked Since Jun 26, 2026