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.
{
"license": "CC-BY-4.0",
"sources": [
{
"modified": "2026-06-27T19:48:56.343Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-6331",
"imported": "2026-07-17T22:35:45.543Z",
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-6331",
"id": "CVE-2026-6331",
"published": "2026-06-25T22:17:03.010Z"
},
{
"modified": "2026-06-27T21:30:29Z",
"url": "https://api.github.com/advisories/GHSA-5hpf-pc4x-3jcf",
"imported": "2026-07-17T22:35:45.732Z",
"html_url": "https://github.com/advisories/GHSA-5hpf-pc4x-3jcf",
"id": "GHSA-5hpf-pc4x-3jcf",
"published": "2026-06-26T00:32:06Z"
},
{
"modified": "2026-06-26T13:53:06Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-39565",
"imported": "2026-07-17T22:35:55.617Z",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-39565",
"published": "2026-06-25T20:56:25Z",
"id": "EUVD-2026-39565"
}
]
}