Skip to content

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

Unknown
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
golang.org/x/crypto/openpgp(Go) All versions No fix listed No fix yet
golang.org/x/crypto(Go) < 0.58.1-0.20261009181718-2f1f834330b2 0.58.1-0.20261009181718-2f1f834330b2 Fixed

Affected products

ProductAffected versionsFixed in
golang.org/x/crypto(Go) < 0.58.1-0.20261009181718-2f1f834330b2 0.58.1-0.20261009181718-2f1f834330b2
golang.org/x/crypto/openpgp(Go) All versions No fix listed

References