CVE-2026-6329: PKCS#12 MAC verification uses attacker-controlled comparison length
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 Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2026-6329?
The severity of CVE-2026-6329 is classified as medium with a score of 6.
How do I fix CVE-2026-6329?
To fix CVE-2026-6329, apply the available patch from the wolfSSL project.
What impact does CVE-2026-6329 have on PKCS#12 MAC verification?
CVE-2026-6329 compromises the integrity check of the MAC by allowing a mismatched MAC to be accepted due to an attacker-controlled comparison length.
Which software is affected by CVE-2026-6329?
CVE-2026-6329 affects the PKCS#12 implementation in wolfSSL.
When was CVE-2026-6329 published?
CVE-2026-6329 was published on June 25, 2026.