Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. golang.org/x/crypto
  4. ›
  5. CVE-2025-47914

CVE-2025-47914: golang.org/x/crypto/ssh/agent vulnerable to panic if message is malformed due to out of bounds read

November 19, 2025 (updated November 20, 2025)

SSH Agent servers do not validate the size of messages when processing new identity requests, which may cause the program to panic if the message is malformed due to an out of bounds read.

References

  • github.com/advisories/GHSA-f6x5-jh6r-wrfv
  • go.dev/cl/721960
  • go.dev/issue/76364
  • go.googlesource.com/crypto
  • groups.google.com/g/golang-announce/c/w-oX3UxNcZA
  • nvd.nist.gov/vuln/detail/CVE-2025-47914
  • pkg.go.dev/vuln/GO-2025-4135

Code Behaviors & Features

Detect and mitigate CVE-2025-47914 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.45.0

Fixed versions

  • 0.45.0

Solution

Upgrade to version 0.45.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-125: Out-of-bounds Read

Source file

go/golang.org/x/crypto/CVE-2025-47914.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Mon, 24 Nov 2025 00:18:53 +0000.