{"id":"GHSA-mpwr-8vm7-h73f","aliases":["GO-2026-5052"],"url":"https://o3.security/vulnerability/GHSA-mpwr-8vm7-h73f","summary":"package pkcs12: Authentication bypass in Decode functions","details":"`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.\n\nThanks 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)).","published":"2026-08-17T21:56:01Z","modified":"2026-08-17T22:00:09.774360138Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"software.sslmate.com/src/go-pkcs12","fixedVersion":"0.7.2"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/SSLMate/go-pkcs12/security/advisories/GHSA-mpwr-8vm7-h73f"},{"type":"PACKAGE","url":"https://github.com/SSLMate/go-pkcs12"},{"type":"WEB","url":"https://openssl-library.org/news/vulnerabilities/#CVE-2026-34181"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-17T22:00:09.774360138Z"}}