Vulnerability · Published Jun 25, 2026 · Assigned by wolfSSL

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

Medium 6.0

In plain English

A medium-severity security flaw in wolfSSL from wolfSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.0Medium
Exploit odds (30 days)0.2%top 88.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.24wolfssl5.9.2-r0ALPINE-CVE-2026-6329
Debian:12wolfssl5.5.4-2+deb12u3DEBIAN-CVE-2026-6329
Debian:13wolfssl5.7.2-0.1+deb13u2DEBIAN-CVE-2026-6329
Ubuntu:22.04:LTSwolfsslno fix listedUBUNTU-CVE-2026-6329
Ubuntu:24.04:LTSwolfsslno fix listedUBUNTU-CVE-2026-6329
Ubuntu:25.10wolfsslno fix listedUBUNTU-CVE-2026-6329
Ubuntu:26.04:LTSwolfsslno fix listedUBUNTU-CVE-2026-6329
Ubuntu:26.10wolfsslno fix listedUBUNTU-CVE-2026-6329

Affected products (as reported)

VendorProductVersions
wolfSSL wolfSSL 3.10.0 – through 5.9.1

Weakness: CWE-347 · Vector: 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

References