mediumVulnerability
GHSA-mpwr-8vm7-h73f
`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)).
Properties
- ghsa_id
- GHSA-mpwr-8vm7-h73f
- severity
- medium
- summary
- package pkcs12: Authentication bypass in Decode functions
- cve_id
- GHSA-mpwr-8vm7-h73f
- is_ghsa_only
- true
- ghsa_published
- 2026-08-17T21:56:01Z
- source_url
- https://github.com/advisories/GHSA-mpwr-8vm7-h73f
- ghsa_updated
- 2026-08-17T21:56:03Z
Related Entities (4)
VULNERABLE_TO (1)
←[Software]go/software.sslmate.com/src/go-pkcs12
AFFECTS (1)
→[Software]go/software.sslmate.com/src/go-pkcs12
HAS_WEAKNESS (1)
→[Weakness]Improper Input Validation
REPORTED_BY (1)
→[Source]GitHub Advisory Database
Explore deeper with Ninja Signal's threat intelligence graph