All reports
Unknown

Indefinite hang with large buffers on Windows in crypto/rand

Affected versions

Affected versions
<1.17.11 || >=1.18.0-0 <1.18.3
Fixed version
1.17.11 · 1.18.3

Exploitation

CVE-2022-30634

Probability of exploitation in the next 30 days: 2.28%

FIRST EPSS · 2026-11-20

Description

On Windows, rand.Read will hang indefinitely if passed a buffer larger than 1 << 32 - 1 bytes.

Links

Credits

  • Davis Goodin
  • Quim Muntal of Microsoft