{
  "id": "CVE-2026-6331",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-6331",
  "published_at": "2026-06-25T20:56:25.876Z",
  "title": "HMAC zero-length tag forgery in EVP_DigestVerifyFinal",
  "vendor": "wolfSSL",
  "product": "wolfSSL",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-347",
  "cpes": [
    "cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 2.1,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "wolfSSL",
        "product": "wolfSSL",
        "ranges": [
          "\u003e= 3.15.5, \u003c= 5.9.1"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/wolfSSL/wolfssl/pull/10192"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
