CVE-2026-6329
published medium CVSS 4.0 · 6.0PKCS#12 MAC verification uses attacker-controlled comparison length
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| wolfSSL | — | wolfSSL3.10.0 through 5.9.1 · Other versions: unaffected | Affected | Not stated | wolfSSL |
| Alpine Linux | edge | wolfssl | Fixed | 5.9.2-r0 | Package fix record |
| Debian | bookworm | wolfssl | Advisory build | 5.5.4-2+deb12u3 | DLA-4683-1 |
| Alpine Linux | v3.24 | wolfssl | Fixed | 5.9.2-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- wolfSSL · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| wolfSSL | wolfSSL | 3.10.0 through 5.9.1 (affected · semver)Default: unaffected | wolfSSL · cna |
Weaknesses
1- CWE-347 CWE-347 Improper Verification of Cryptographic Signature
References
2Provider assertions
2wolfSSL · cna
PKCS#12 MAC verification uses attacker-controlled comparison length
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8d2073c554a2541d4c63ac706c7957932106590648d0869f2dd74ae3a87b86a8
- Ingested
- 23 Sep 2026, 09:28:24 UTC
- Source record
- Official CVE record