{"id":"CVE-2026-6331","published":"2026-06-25T20:56:25Z","modified":"2026-06-26T13:53:06Z","title":"HMAC zero-length tag forgery in EVP_DigestVerifyFinal","vendor":"wolfSSL","product":"wolfSSL","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.1,"severity":"LOW","version":"4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0019,"percentile":0.08856,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/wolfSSL/wolfssl/pull/10192","tags":["patch"]},{"url":"https://www.wolfssl.com/docs/security-vulnerabilities/","tags":[]}],"priority":{"score":3.2,"factors":[{"name":"EPSS percentile","points":1.77},{"name":"CVSS severity","points":1.47}]},"vendorSlug":"wolfssl","affectedVersions":[{"vendor":"wolfSSL","product":"wolfSSL","versions":[">= 3.15.5, <= 5.9.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-26T13:52:52.624679Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-39565","exploited":false,"provenance":"source"}}