Skip to content

x/vulndb: potential Go vuln in golang.org/x/crypto: GHSA-j5w8-q4qc-rx2x #4141

@GoVulnBot

Description

@GoVulnBot

Advisory GHSA-j5w8-q4qc-rx2x references a vulnerability in the following Go modules:

Module
golang.org/x/crypto

Description:
SSH servers parsing GSSAPI authentication requests do not validate the number of mechanisms specified in the request, allowing an attacker to cause unbounded memory consumption.

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: golang.org/x/crypto
      versions:
        - fixed: 0.45.0
      vulnerable_at: 0.44.0
summary: golang.org/x/crypto/ssh allows an attacker to cause unbounded memory consumption in golang.org/x/crypto
cves:
    - CVE-2025-58181
ghsas:
    - GHSA-j5w8-q4qc-rx2x
references:
    - advisory: https://github.com/advisories/GHSA-j5w8-q4qc-rx2x
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-58181
    - fix: https://go.dev/cl/721961
    - report: https://go.dev/issue/76363
    - web: https://groups.google.com/g/golang-announce/c/w-oX3UxNcZA
source:
    id: GHSA-j5w8-q4qc-rx2x
    created: 2025-11-20T00:01:04.819322902Z
review_status: UNREVIEWED

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions