{"id":"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)).","aliases":["GO-2026-5052"],"modified":"2026-09-10T03:51:14.519910771Z","published":"2026-08-17T21:56:01Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-08-17T21:56:01Z","nvd_published_at":null,"cwe_ids":["CWE-20"]},"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"}],"affected":[{"package":{"name":"software.sslmate.com/src/go-pkcs12","ecosystem":"Go","purl":"pkg:golang/software.sslmate.com/src/go-pkcs12"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.6.0"},{"fixed":"0.7.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-mpwr-8vm7-h73f/GHSA-mpwr-8vm7-h73f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}]}