Weakness in PKCS#12 MAC Verification in WolfSSL Products
CVE-2026-6329
6MEDIUM
What is CVE-2026-6329?
The vulnerability in PKCS#12 MAC verification arises from a flaw in length comparison, where an attacker can manipulate the comparison length used during the integrity check. This leads to a situation where a mismatched MAC can be wrongly accepted, undermining the integrity of the MAC. When the PKCS#12 verify path computes the HMAC locally, it compares it to the MAC retrieved from the PKCS#12 file, using a length determined by attacker-controlled input. This can allow for acceptance of truncated or incorrectly specified MACs, negating the intended security protections.
Affected Version(s)
wolfSSL 3.10.0 <= 5.9.1
