CVE-2022-30634

published 15 Jul 2022 · updated 16 Nov 2026

Indefinite hang with large buffers on Windows in crypto/rand

7.5HighCVSS 7.5EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 1.17.11 and 1.18.3.

Infinite loop in Read in crypto/rand before Go 1.17.11 and Go 1.18.3 on Windows allows attacker to cause an indefinite hang by passing a buffer larger than 1 << 32 - 1 bytes.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go standard library<1.17.11, >=1.18.0-0 <1.18.31.17.11, 1.18.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-30634 severity on Zeptric[![CVE-2022-30634](https://zeptric.io/badge/cve/CVE-2022-30634.svg)](https://zeptric.io/cve/CVE-2022-30634)