CVE-2026-6331CWE-347

HMAC zero-length tag forgery in EVP_DigestVerifyFinal

Low · published June 25, 2026

CVSS v4.0
2.1
EPSS
0%
Percentile
8.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
2.1 · LOW
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
EPSS
0.00190 · 8.2th percentile
Weakness
CWE-347 · Improper Verification of Cryptographic Signature
Published
2026-06-25T20:56Z
EPSS history
Timeline
  • 25 JUN 20:56Z
    HMAC zero-length tag forgery in EVP_DigestVerifyFinal
    cvelistv5