# CVE-2026-6329: PKCS#12 MAC verification uses attacker-controlled comparison length

- Severity: Medium 6.0 (CVSS:4.0, scored by wolfSSL) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-06-25T21:02:45.860Z
- Modified: 2026-06-27T19:51:09.053Z
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: wolfSSL

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

(As written by CVE List.)

## Affected

- wolfSSL wolfSSL: from 3.10.0 up to 5.9.1; from 3.10.0 before 5.9.2

## Every score

- wolfSSL: CVSS:4.0 6.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/wolfSSL/wolfssl/pull/10192> (issue-tracking, patch)
- <https://www.wolfssl.com/docs/security-vulnerabilities/> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-6329](https://www.cve.org/CVERecord?id=CVE-2026-6329), CVE Terms of Use, modified 2026-06-26
- NVD: [CVE-2026-6329](https://nvd.nist.gov/vuln/detail/CVE-2026-6329), Public domain, modified 2026-06-27

---

Page: https://cve.day/CVE-2026-6329 · Whole record: https://cve.day/CVE-2026-6329.json · Rebuilt by cve.day 2026-11-25T22:59:26.442Z
