package pkcs12: Authentication bypass in Decode functions
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
`Decode`, `DecodeChain`, `DecodeTrustStore`, and `ToPEM` can incorrectly accept PKCS#12 files which were encoded with the wrong password, due to a failure to reject excessively-short PBMAC1 keys. Users who decode PKCS#12 files from untrusted sources and rely on the password for authentication can be tricked into accepting malicious PKCS#12 files. Users who only decode PKCS#12 files from trusted sources are not affected. Thanks to Pavol Žáčik (Red Hat) and Alex Gaynor (Anthropic) for finding and reporting the same issue in OpenSSL ([CVE-2026-34181](https://openssl-library.org/news/vulnerabilities/#CVE-2026-34181)).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | software.sslmate.com/src/go-pkcs12 (Go) | 0.6.0 to before 0.7.2 | 0.7.2 | Patch available | GHSA-mpwr-8vm7-h73f |
- software.sslmate.com/src/go-pkcs12 (Go) Vendor— Affected 0.6.0 to before 0.7.2 Fixed in 0.7.2 Patch available GHSA-mpwr-8vm7-h73f
Remediation
- Fix · GHSA-mpwr-8vm7-h73f software.sslmate.com/src/go-pkcs12 (Go) Fixed in 0.7.2 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-mpwr-8vm7-h73f
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences