CVE-2026-6331
published low CVSS 4.0 · 2.1HMAC zero-length tag forgery in EVP_DigestVerifyFinal
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| wolfSSL | — | wolfSSL3.15.5 through 5.9.1 · Other versions: unaffected | Affected | Not stated | wolfSSL |
| Alpine Linux | edge | wolfssl | Fixed | 5.9.2-r0 | Package fix record |
| Debian | bookworm | wolfssl | Advisory build | 5.5.4-2+deb12u3 | DLA-4683-1 |
| Alpine Linux | v3.24 | wolfssl | Fixed | 5.9.2-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- wolfSSL · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| wolfSSL | wolfSSL | 3.15.5 through 5.9.1 (affected · semver)Default: unaffected | wolfSSL · cna |
Weaknesses
1- CWE-347 CWE-347 Improper Verification of Cryptographic Signature
References
2Provider assertions
2wolfSSL · cna
HMAC zero-length tag forgery in EVP_DigestVerifyFinal
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5c38a257705dbdc30aeb463fbf852a5930fd89652115a58791bd4bb27edb5eff
- Ingested
- 23 Sep 2026, 09:28:24 UTC
- Source record
- Official CVE record