GHSA-mpwr-8vm7-h73f

Suggest an improvement
Source
https://github.com/advisories/GHSA-mpwr-8vm7-h73f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-mpwr-8vm7-h73f/GHSA-mpwr-8vm7-h73f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mpwr-8vm7-h73f
Aliases
Downstream
Related
Published
2026-08-17T21:56:01Z
Modified
2026-08-17T22:00:09.774360138Z
Severity
  • 6.3 (Medium) CVSS_V4 - 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 CVSS Calculator
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.

Thanks to Pavol Žáčik (Red Hat) and Alex Gaynor (Anthropic) for finding and reporting the same issue in OpenSSL (CVE-2026-34181).

Database specific
{
    "github_reviewed": true,
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-20"
    ],
    "github_reviewed_at": "2026-08-17T21:56:01Z",
    "severity": "MODERATE"
}
References

Affected packages

Go / software.sslmate.com/src/go-pkcs12

Package

Name
software.sslmate.com/src/go-pkcs12
View open source insights on deps.dev
Purl
pkg:golang/software.sslmate.com/src/go-pkcs12

Affected 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"