PKCS#12 MAC verification uses an attacker-controlled comparison length, weakening the integrity check on the MAC and allowing a mismatched MAC to be accepted.
- CVSS
- 6.5Medium
- Chance of exploitation (EPSS)
- —
- Published
- Jun 25, 2026
- In the news
- Not yet
What to do
A moderate security flaw in Wolfssl that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Wolfssl
- 3.10.0 to through 5.9.1
Description
PKCS#12 MAC verification uses an attacker-controlled comparison length, weakening the integrity check on the MAC and allowing a mismatched MAC to be accepted. The PKCS#12 verify path compared the locally computed HMAC against the MAC parsed from the PKCS#12 structure using a length taken directly from the attacker-supplied input, without first verifying that it equals the length of the digest actually produced by the configured algorithm. A truncated or zero-length stored MAC could therefore be accepted, defeating the integrity protection of the MAC.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-6329 published (CVSS 6.5) (Jun 25, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Thu, Jun 25, 2026
- CVECVE-2026-6329 published (CVSS 6.5)CVE Program · 22:17 UTC
References 2
- github.com Patch /wolfSSL/wolfssl/pull/10192
- www.wolfssl.com Vendor Advisory /docs/security-vulnerabilities/