CVE-2026-6329

MEDIUM

PKCS#12 MAC verification uses attacker-controlled comparison length

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 6.5
EPSS 0.0016
EPSS Percentile 5.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-347
Status published
Products (2)
wolfSSL/wolfSSL 3.10.0 - 5.9.1
wolfssl/wolfssl 3.10.0 - 5.9.2
Published Jun 25, 2026
Tracked Since Jun 26, 2026