Skip to content

x/crypto/ssh: byte arithmetic causes underflow and panic #79561

Closed

Description

@thatnealpatel

An incorrectly placed cast from bytes to int
allowed for server-side panic in the AES-GCM
packet decoder for well-crafted inputs.

Thanks to Maciej Kawka for reporting this issue.

This is CVE-2026-46597 and Go issue https://go.dev/issue/79561.


This was a PRIVATE track issue, tracked in http://b/504678385.

Activity

  1. added
    NeedsFixThe path to resolution is known, but the work has not been done.
    on May 21, 2026
  2. gopherbot commented on May 21, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/781620 mentions this issue: ssh: fix incorrect operator order

  3. changed the title [-]security: fix CVE-2026-46597[/-] [+]ssh: byte arithmetic causes underflow and panic[/+] on May 22, 2026
  4. added a commit that references this issue on May 22, 2026
    abbc44d
  5. changed the title [-]ssh: byte arithmetic causes underflow and panic[/-] [+]x/crypto/ssh: byte arithmetic causes underflow and panic[/+] on May 22, 2026
  6. added this to the Unreleased milestone on May 22, 2026
  7. added a commit that references this issue on Jul 30, 2026
    32eca92
  8. added a commit that references this issue on Jul 30, 2026
    1453ff3
  9. added a commit that references this issue on Aug 26, 2026
    be6c13b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsFixThe path to resolution is known, but the work has not been done.Securityrelease-blocker

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions