LowGO-2026-5932

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

Published 7 Jul 2026 · Updated 2 Nov 2026

Is your project on an affected golang.org/x/crypto?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
<0.58.1-0.20261009181718-2f1f834330b2
Fixed in
0.58.1-0.20261009181718-2f1f834330b2
Update to the fixed version for your release line, for example:go get golang.org/x/crypto@v0.58.1-0.20261009181718-2f1f834330b2
Affected
All versions
Fixed in
No fix released

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.

Is GO-2026-5932 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected golang.org/x/crypto, and gives you the command that fixes it.

More advisories for golang.org/x/crypto

  • LowCVE-2026-78662Prevent DoS on deadlocked undecided channel in golang.org/x/crypto/ssh · 2 Sept 2026
  • LowCVE-2026-56855Prevent DoS on deadlocked established channel in golang.org/x/crypto/ssh · 2 Sept 2026
  • LowCVE-2026-56854Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh · 28 Aug 2026
  • CriticalCVE-2026-46595golang.org/x/crypto: Invoking VerifiedPublicKeyCallback permissions skip enforcement · 25 Jun 2026
  • CriticalCVE-2026-42508golang.org/x/crypto vulnerable to auth bypass via unenforced @revoked status · 25 Jun 2026
  • CriticalCVE-2026-39834golang.org/x/crypto vulnerable to infinite loop on large channel writes · 25 Jun 2026
All 58 advisories for golang.org/x/crypto

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.