CVE Vulnerabilities

CVE-2026-39832

Deserialization of Untrusted Data

Published: May 22, 2026 | Modified: May 28, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

Affected Software

NameVendorStart VersionEnd Version
CryptoGolang*0.52.0 (excluding)
Golang-go.cryptoUbuntuesm-apps/focal*
Golang-go.cryptoUbuntuesm-apps/jammy*
Golang-go.cryptoUbuntuesm-apps/noble*
Golang-go.cryptoUbuntuesm-apps/resolute*
Golang-go.cryptoUbuntujammy*
Golang-go.cryptoUbuntunoble*
Golang-go.cryptoUbuntuquesting*
Golang-go.cryptoUbunturesolute*
Golang-go.cryptoUbuntuupstream*
LxdUbuntuesm-infra-legacy/xenial*
LxdUbuntuesm-infra/bionic*

Potential Mitigations

  • Make fields transient to protect them from deserialization.
  • An attempt to serialize and then deserialize a class containing transient fields will result in NULLs where the transient data should be. This is an excellent way to prevent time, environment-based, or sensitive variables from being carried over and used improperly.

References