Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. software.sslmate.com/src/go-pkcs12
  4. ›
  5. GHSA-mpwr-8vm7-h73f

GHSA-mpwr-8vm7-h73f: package pkcs12: Authentication bypass in Decode functions

August 17, 2026

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).

References

  • github.com/SSLMate/go-pkcs12/security/advisories/GHSA-mpwr-8vm7-h73f
  • github.com/advisories/GHSA-mpwr-8vm7-h73f
  • openssl-library.org/news/vulnerabilities/

Code Behaviors & Features

Detect and mitigate GHSA-mpwr-8vm7-h73f with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.6.0 before 0.7.2

Fixed versions

  • 0.7.2

Solution

Upgrade to version 0.7.2 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

go/software.sslmate.com/src/go-pkcs12/GHSA-mpwr-8vm7-h73f.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 08 Sep 2026 00:18:14 +0000.