GHSA-q4h4-gmj2-qvw2

Suggest an improvement
Source
https://github.com/advisories/GHSA-q4h4-gmj2-qvw2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-q4h4-gmj2-qvw2/GHSA-q4h4-gmj2-qvw2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-q4h4-gmj2-qvw2
Aliases
Downstream
CGA (4505)
MINI (233)
Published
2026-06-25T22:14:22Z
Modified
2026-09-10T03:50:50Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
golang.org/x/crypto: Invoking byte arithmetic causes underflow and panic
Details

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

Database specific
{
    "cwe_ids":  [
        "CWE-704"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-06-25T22:14:22Z",
    "nvd_published_at":  "2026-05-22T04:16:26Z",
    "severity":  "HIGH"
}
References

Affected packages

Go / golang.org/x/crypto

Package

Name
golang.org/x/crypto
View open source insights on deps.dev
Purl
pkg:golang/golang.org/x/crypto

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.52.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-q4h4-gmj2-qvw2/GHSA-q4h4-gmj2-qvw2.json"