CVE-2026-6331

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductWolfssl
PublishedJun 25, 2026
First seenJun 25, 2026
Weakness typeCWE-347CWE-347

How to fix

Update
  • wolfssl wolfssl5.9.2 or later

Affected products

ProductAffected versionsFixed in
wolfssl wolfssl3.15.5 ≤ v < 5.9.25.9.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.