software.sslmate.com/src/go-pkcs12
Affected
- introduced
0.6.0, fixed0.7.2(semver)
Fixed versions
0.7.2
Fix
- Fixed version
0.7.2go get software.sslmate.com/src/[email protected]
Advisory
Also known as: GO-2026-5052
package pkcs12: Authentication bypass in Decode functions
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).
Medium Basis: The source's own band: MODERATE
0.6.0, fixed 0.7.2 (semver)0.7.2
0.7.2go get software.sslmate.com/src/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0