Deserialization of Untrusted Data Affecting golang-go.crypto package, versions <1:0.0~git20200221.2aa609c-1ubuntu0.1~esm2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.6% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-GOLANGGOCRYPTO-16800610
  • published10 Jun 2026
  • disclosed22 May 2026

Introduced: 22 May 2026

CVE-2026-39832  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 golang-go.crypto to version 1:0.0git20200221.2aa609c-1ubuntu0.1esm2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-go.crypto package and not the golang-go.crypto package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

When adding a key to a remote agent constraint extensions such as restrict-destination-v00@openssh.com were not serialized in the request. Destination restrictions were silently stripped when forwarding keys, allowing unrestricted use of the key on the remote host. The client now serializes all constraint extensions. Additionally, the in-memory keyring returned by NewKeyring() now rejects keys with unsupported constraint extensions instead of silently ignoring them.

References

CVSS Base Scores

version 3.1