CVE-2026-6329 Details
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.
A vulnerability exists in wolfSSL's handling of PKCS#12 MAC verification, where an attacker can manipulate the comparison length, undermining the integrity check of the MAC. This flaw allows a mismatched MAC to be accepted. The issue arises because the verification process compares the locally computed HMAC with the MAC extracted from the PKCS#12 structure using a length derived from attacker-controlled input. Without verifying that this length matches the actual length of the digest produced by the selected algorithm, a truncated or zero-length MAC could be accepted, compromising the integrity protection.
Users are advised to update to wolfSSL version 5.9.1, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/wolfSSL/wolfssl/pull/10192 | [email protected] | Issue TrackingPatch |
| https://www.wolfssl.com/docs/security-vulnerabilities/ | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-347 | Improper Verification of Cryptographic Signature | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| wolfssl wolfssl | >= 3.10.0, < 5.9.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 27, 2026 | Initial Analysis | [email protected] |
| Jun 26, 2026 | CVE Modified | CISA-ADP |
| Jun 25, 2026 | New CVE Received | [email protected] |