CVE-2026-6329CWE-347

PKCS#12 MAC verification uses attacker-controlled comparison length

Medium · published June 25, 2026

CVSS v4.0
6.0
EPSS
0%
Percentile
11.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.0 · MEDIUM
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
EPSS
0.00213 · 11.0th percentile
Weakness
CWE-347 · Improper Verification of Cryptographic Signature
Published
2026-06-25T21:02Z
EPSS history
Timeline
  • 25 JUN 21:02Z
    PKCS#12 MAC verification uses attacker-controlled comparison length
    cvelistv5