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.
References
| Link | Resource |
|---|---|
| https://github.com/wolfSSL/wolfssl/pull/10192 | Issue Tracking Patch |
| https://www.wolfssl.com/docs/security-vulnerabilities/ | Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-06-25 22:17
Updated : 2026-06-27 19:48
NVD link : CVE-2026-6331
Mitre link : CVE-2026-6331
CVE.ORG link : CVE-2026-6331
JSON object : View
Products Affected
wolfssl
- wolfssl
CWE
CWE-347
Improper Verification of Cryptographic Signature
