Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. golang.org/x/crypto/ssh/agent
  4. ›
  5. CVE-2026-46598

CVE-2026-46598: golang.org/x/crypto/ssh/agent: Invoking pathological inputs can lead to client panic

June 25, 2026

For certain crafted inputs, a ’ed25519.PrivateKey’ was created by casting malformed wire bytes, leading to a panic when used.

References

  • github.com/advisories/GHSA-9m57-25v3-79x9
  • go.dev/cl/781360
  • go.dev/issue/79596
  • groups.google.com/g/golang-announce/c/a082jnz-LvI
  • nvd.nist.gov/vuln/detail/CVE-2026-46598
  • pkg.go.dev/vuln/GO-2026-5033

Code Behaviors & Features

Detect and mitigate CVE-2026-46598 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.52.0

Fixed versions

  • 0.52.0

Solution

Upgrade to version 0.52.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-129: Improper Validation of Array Index

Source file

go/golang.org/x/crypto/ssh/agent/CVE-2026-46598.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 12 Jul 2026 12:16:20 +0000.