Summary
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).
Impact
The application does not adequately validate input before processing it, allowing unexpected values to reach sensitive code paths. Typical impact: varies by context: data corruption, logic bypass, or denial of service.
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Already deployed Kodem?
See it in your environmentNew to Kodem? Get a demo →Remediation advice
Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
Frequently Asked Questions
- What is GHSA-MPWR-8VM7-H73F? GHSA-MPWR-8VM7-H73F is a medium-severity improper input validation vulnerability in software.sslmate.com/src/go-pkcs12 (go), affecting versions >= 0.6.0, < 0.7.2. It is fixed in 0.7.2. The application does not adequately validate input before processing it, allowing unexpected values to reach sensitive code paths.
- Which versions of software.sslmate.com/src/go-pkcs12 are affected by GHSA-MPWR-8VM7-H73F? software.sslmate.com/src/go-pkcs12 (go) versions >= 0.6.0, < 0.7.2 is affected.
- Is there a fix for GHSA-MPWR-8VM7-H73F? Yes. GHSA-MPWR-8VM7-H73F is fixed in 0.7.2. Upgrade to this version or later.
- Is GHSA-MPWR-8VM7-H73F exploitable, and should I be worried? Whether GHSA-MPWR-8VM7-H73F is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether GHSA-MPWR-8VM7-H73F is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix GHSA-MPWR-8VM7-H73F? Upgrade
software.sslmate.com/src/go-pkcs12to 0.7.2 or later.