Skip to main content

Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)

CVE-2012-1577

Severity High
Score 9.8/10

Summary

lib/libc/stdlib/random.c in OpenBSD returns 0 when seeded with 0.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-335 - Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)

The software uses a Pseudo-Random Number Generator (PRNG) but does not correctly manage seeds.

References

Advisory Timeline

  • Published