GitHub Advisoryadvisory · Go
GHSA-q4h4-gmj2-qvw2 golang.org/x/crypto: Invoking byte arithmetic causes underflow and panic
HIGH
Official page ↗
- Aliases
- CVE-2026-46597
- Ecosystem
- Go
- Packages
- golang.org/x/crypto
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-704
- Reviewed
- 2026-06-25
Affected packages
• Go golang.org/x/crypto: < 0.52.0 → fixed in 0.52.0
Description
An incorrectly placed cast from bytes to int allowed for server-side panic in the AES-GCM packet decoder for well-crafted inputs.
Related
Alias · CVE (1)
- CVE-2026-46597 An incorrectly placed cast from bytes to int allowed for server-side panic in the AES-GCM packet decoder for well-crafted inputs. vulnerability
Weakness · CWE (1)
- CWE-704 Incorrect Type Conversion or Cast weakness