GO-2026-5932
The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues
Mitigation
- Upgrade golang.org/x/crypto to 0.58.1-0.20261009181718-2f1f834330b2 or later.
Who should check
- Projects that depend on Go package golang.org/x/crypto (< 0.58.1-0.20261009181718-2f1f834330b2)
- Projects that depend on Go package golang.org/x/crypto/openpgp
Vulnerability facts
- Affected
- golang.org/x/crypto < 0.58.1-0.20261009181718-2f1f834330b2; golang.org/x/crypto/openpgp
- Fixed in
- 0.58.1-0.20261009181718-2f1f834330b2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go golang.org/x/crypto | < 0.58.1-0.20261009181718-2f1f834330b2 | 0.58.1-0.20261009181718-2f1f834330b2 | osv |
| Go golang.org/x/crypto/openpgp | — | — | osv |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by GO-2026-5932. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/GO-2026-5932.md Affected: golang.org/x/crypto < 0.58.1-0.20261009181718-2f1f834330b2; golang.org/x/crypto/openpgp Fixed in: 0.58.1-0.20261009181718-2f1f834330b2 Steps: 1. Search this machine and project for golang.org/x/crypto (Go), golang.org/x/crypto/openpgp (Go): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is GO-2026-5932 being exploited?
There is no confirmed exploitation: GO-2026-5932 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is GO-2026-5932?
It has no CVSS score yet. Unknown.
Which versions are affected by GO-2026-5932?
golang.org/x/crypto < 0.58.1-0.20261009181718-2f1f834330b2; golang.org/x/crypto/openpgp.
Is there a fix for GO-2026-5932?
Yes. Fixed in 0.58.1-0.20261009181718-2f1f834330b2. Upgrade golang.org/x/crypto to 0.58.1-0.20261009181718-2f1f834330b2 or later.
How do I check if I'm affected by GO-2026-5932?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.