Skip to content
OpenAdvisories
Unscored GO-2026-5932

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

Published Jul 7, 2026 · Updated Nov 2, 2026 · Assigned by GO

Description

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Go golang.org/x/crypto < 0.58.1-0.20261009181718-2f1f834330b2 0.58.1-0.20261009181718-2f1f834330b2 GO-2026-5932
Go golang.org/x/crypto/openpgp all versions — GO-2026-5932

References