VDB
Sign up
—

GO-2026-5932

The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues

Quick fix

GO-2026-5932 — golang.org/x/crypto: upgrade to the fixed version with the command below.

go get golang.org/x/crypto@v0.58.1-0.20261009181718-2f1f834330b2

Details

The golang.org/x/crypto/openpgp package is unsafe by design, has numerous known security issues, is not maintained, and should not be used.

If you are required to interoperate with OpenPGP systems and need a maintained package, consider github.com/ProtonMail/go-crypto/openpgp which is a maintained fork that aims to be a drop-in replacement for this package.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/golang.org/x/crypto
Introduced in: 0Fixed in: 0.58.1-0.20261009181718-2f1f834330b2
Fixgo get golang.org/x/crypto@v0.58.1-0.20261009181718-2f1f834330b2
Go/golang.org/x/crypto/openpgp
Introduced in: 0

No fixed version published yet for golang.org/x/crypto/openpgp (go modules). Pin to a known-safe version or switch to an alternative.

References