BreachSpiderVerified, not vibes

CVE-2026-6331 in Wolfssl

High 7.5

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 veri...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
CVSS v42.1
EPSS0.2%
EPSS percentile5th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Wolfssl Wolfssl ≥ 3.15.5, ≤ 5.9.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-6331
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published2026-06-25
Last modified2026-06-27
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-347: CWE-347

Related attack patterns (CAPEC)

CAPEC-463 Padding Oracle Crypto Attack via CWE-347

CAPEC-475 Signature Spoofing by Improper Validation via CWE-347

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A unscored severity vulnerability (CVE-2026-6331) affects the target system. 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 ...

Questions

What is CVE-2026-6331?

A unscored severity vulnerability (CVE-2026-6331) affects the target system. 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 ...

What is the CVSS score for CVE-2026-6331?

CVE-2026-6331 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.2%.

Is CVE-2026-6331 actively exploited?

No confirmed active exploitation of CVE-2026-6331 as of 2026-09-25.

How do I remediate CVE-2026-6331?

Advisory: https://www.wolfssl.com/docs/security-vulnerabilities/

What systems are affected by CVE-2026-6331?

CVE-2026-6331 affects Wolfssl Wolfssl.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Wolfssl","product":"Wolfssl","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-27.