HMAC Tag Forgery Vulnerability in wolfSSL Software
CVE-2026-6331
2.1LOW
What is CVE-2026-6331?
A flaw in wolfSSL allows an attacker to exploit HMAC verification by submitting a zero-length or truncated tag, potentially validating a forgery. The mechanism only checks that the provided tag length does not exceed the MAC length, which could lead to unauthorized access or compromised data integrity. The vulnerability has been addressed in recent patches, which now enforce that the supplied tag length matches the MAC length exactly and reject any zero-length MACs, ensuring forged short or empty tags are no longer accepted.
Affected Version(s)
wolfSSL 3.15.5 <= 5.9.1
