Back
CVE-2012-1577
lib/libc/stdlib/random.c in OpenBSD returns 0 when seeded with 0.
Critical9.8EPSS 1.6%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
lib/libc/stdlib/random.c in OpenBSD returns 0 when seeded with 0.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.6% · top 25% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
- Insufficient Random Number Generation
- CWE-335 (opens in a new tab)
Affected products
dietlibc · dietlibc
- affected before 0.33
References (4)
- https://security-tracker.debian.org/tracker/CVE-2012-1577 (opens in a new tab)x_refsource_MISCx_transferred
- http://www.openwall.com/lists/oss-security/2012/03/23/14 (opens in a new tab)x_refsource_MISCx_transferred
- http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdlib/random.c#rev1.16 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/ensc/dietlibc/blob/master/CHANGES (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .