{"id":"CVE-2026-6329","summary":"PKCS#12 MAC verification uses attacker-controlled comparison length","details":"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.","modified":"2026-07-16T03:48:47.557764032Z","published":"2026-06-25T21:02:45.860Z","database_specific":{"cna_assigner":"wolfSSL","cwe_ids":["CWE-347"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6329.json"},"references":[{"type":"WEB","url":"https://www.wolfssl.com/docs/security-vulnerabilities/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6329.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6329"},{"type":"FIX","url":"https://github.com/wolfSSL/wolfssl/pull/10192"},{"type":"PACKAGE","url":"https://github.com/wolfSSL/wolfssl"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wolfssl/wolfssl","events":[{"introduced":"31981cc36516943a915a9f4df8008f5b88718eeb"},{"fixed":"ac01707f552c611fbd135cc723b2682b3e7f80f2"}],"database_specific":{"extracted_events":[{"introduced":"3.10.0"},{"last_affected":"5.9.1"},{"fixed":"5.9.2"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*"}}],"versions":["v5.9.1-stable","v5.9.0-stable","v5.8.4-stable","wolfEntropy2d","v5.8.2-stable","wolfEntropy1","v5.8.0-stable","v5.7.6-stable","v5.7.4-stable","v5.2.1","v5.7.2-stable","v5.7.0-stable","v5.6.6-stable","v5.6.4-stable","WCv5.0-RC12","WCv5.0-RC11","WCv5.0-RC10","v5.6.2-stable","v5.6.3-stable","v5.6.0-stable","v5.5.4-stable","v5.5.3-stable","v5.5.2-stable","v5.5.1-stable","v5.5.0-stable","v5.4.0-stable","v5.3.0-stable","v5.2.0-stable","v5.1.0-stable","v5.0.0-stable","WCv5.0-RC9","v4.8.0-stable","v4.7.1r","v4.7.0-stable","v4.6.0-stable","v4.5.0-stable","v4.4.0-stable","v4.3.0-stable","v4.2.0c","v4.2.0-stable","v4.1.0-stable","v4.0.0-stable","list","v3.15.7-stable","v3.15.6","v3.15.5a","v3.15.5-stable","WCv4-rng-stable","v3.15.3-stable","l","v3.15.0-stable","v3.14.4","v3.14.2","v3.14.0b","v3.14.0a","v3.14.0-stable","v3.13.3","v3.13.2","v3.13.0-stable","v3.12.2-stable","v3.12.0-stable","v3.11.1-tls13-beta","v3.11.0-stable","v3.10.3","v3.10.2-stable","v3.10.0a"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-6329.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}