CVE-2011-2686
Ruby before 1.8.7-p352 does not reset the random seed upon forking, which makes it easier for...
CVE-2011-2686 is a medium vulnerability (CVSS 5.0) in Ruby-lang Ruby, published August 5, 2011. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.58%, the 85th percentile. Fixed in ruby1.8 1.8.7.302-2squeeze3.
Ruby before 1.8.7-p352 does not reset the random seed upon forking, which makes it easier for context-dependent attackers to predict the values of random numbers by leveraging knowledge of the number sequence obtained in a different child process, a related issue to CVE-2003-0900. NOTE: this issue exists because of a regression during Ruby 1.8.6 development.
Exploit likelihood
What each source reports
NVD Score used
5.0
Ruby before 1.8.7-p352 does not reset the random seed upon forking, which makes it easier for context-dependent attackers to predict the values of random numbers by leveraging knowledge of the number sequence obtained in a different child process, a related issue to CVE-2003-0900. NOTE: this issue exists because of a regression during Ruby 1.8.6 development.
- Record
CVE-2011-2686- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-310
- Updated
- 2026-11-02
CVE List No score
Ruby before 1.8.7-p352 does not reset the random seed upon forking, which makes it easier for context-dependent attackers to predict the values of random numbers by leveraging knowledge of the number sequence obtained in a different child process, a related issue to CVE-2003-0900. NOTE: this issue exists because of a regression during Ruby 1.8.6 development.
- Record
CVE-2011-2686- Updated
- 2026-11-02
EUVDEUVD-2011-2668 No score
Ruby before 1.8.7-p352 does not reset the random seed upon forking, which makes it easier for context-dependent attackers to predict the values of random numbers by leveraging knowledge of the number sequence obtained in a different child process, a related issue to CVE-2003-0900. NOTE: this issue exists because of a regression during Ruby 1.8.6 development.
- Record
EUVD-2011-2668- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-g8g6-3p4h-6388 No score
Ruby before 1.8.7-p352 does not reset the random seed upon forking, which makes it easier for...
Ruby before 1.8.7-p352 does not reset the random seed upon forking, which makes it easier for context-dependent attackers to predict the values of random numbers by leveraging knowledge of the number sequence obtained in a different child process, a related issue to CVE-2003-0900. NOTE: this issue exists because of a regression during Ruby 1.8.6 development.
- Record
GHSA-g8g6-3p4h-6388- Updated
- 2026-11-02
OSVBELL-CVE-2011-2686
5.0
CVE-2011-2686 does not affect BellSoft software
- Record
BELL-CVE-2011-2686- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Updated
- 2026-11-02
OSVRHSA-2026:7305
7.5
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- Record
RHSA-2026:7305- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVRHSA-2026:7307
7.5
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- Record
RHSA-2026:7307- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVRHSA-2026:8838
7.5
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- Record
RHSA-2026:8838- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ruby1.8Debian:6.0 |
before 1.8.7.302-2squeeze3, plus listed versions 1.8.7.302-21.8.7.302-2squeeze11.8.7.302-2squeeze2 |
1.8.7.302-2squeeze3 |
ruby3.3Red Hat:hummingbird:1 |
before 0:3.3.10-23.1.hum1 | 0:3.3.10-23.1.hum1 |
ruby3.3-bundled-gemsRed Hat:hummingbird:1 |
before 0:3.3.10-23.1.hum1 | 0:3.3.10-23.1.hum1 |
ruby3.3-default-gemsRed Hat:hummingbird:1 |
before 0:3.3.10-23.1.hum1 | 0:3.3.10-23.1.hum1 |
ruby3.3-develRed Hat:hummingbird:1 |
before 0:3.3.10-23.1.hum1 | 0:3.3.10-23.1.hum1 |
ruby3.3-docRed Hat:hummingbird:1 |
before 0:3.3.10-23.1.hum1 | 0:3.3.10-23.1.hum1 |
ruby3.3-libsRed Hat:hummingbird:1 |
before 0:3.3.10-23.1.hum1 | 0:3.3.10-23.1.hum1 |
ruby3.4Red Hat:hummingbird:1 |
before 0:3.4.8-31.1.hum1 | 0:3.4.8-31.1.hum1 |
ruby3.4-bundled-gemsRed Hat:hummingbird:1 |
before 0:3.4.8-31.1.hum1 | 0:3.4.8-31.1.hum1 |
ruby3.4-default-gemsRed Hat:hummingbird:1 |
before 0:3.4.8-31.1.hum1 | 0:3.4.8-31.1.hum1 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ruby3.4-develRed Hat:hummingbird:1 |
before 0:3.4.8-31.1.hum1 | 0:3.4.8-31.1.hum1 |
ruby3.4-docRed Hat:hummingbird:1 |
before 0:3.4.8-31.1.hum1 | 0:3.4.8-31.1.hum1 |
ruby3.4-libsRed Hat:hummingbird:1 |
before 0:3.4.8-31.1.hum1 | 0:3.4.8-31.1.hum1 |
ruby4.0Red Hat:hummingbird:1 |
before 0:4.0.0-33.3.hum1 | 0:4.0.0-33.3.hum1 |
ruby4.0-bundled-gemsRed Hat:hummingbird:1 |
before 0:4.0.0-33.3.hum1 | 0:4.0.0-33.3.hum1 |
ruby4.0-default-gemsRed Hat:hummingbird:1 |
before 0:4.0.0-33.3.hum1 | 0:4.0.0-33.3.hum1 |
ruby4.0-develRed Hat:hummingbird:1 |
before 0:4.0.0-33.3.hum1 | 0:4.0.0-33.3.hum1 |
ruby4.0-docRed Hat:hummingbird:1 |
before 0:4.0.0-33.3.hum1 | 0:4.0.0-33.3.hum1 |
ruby4.0-libsRed Hat:hummingbird:1 |
before 0:4.0.0-33.3.hum1 | 0:4.0.0-33.3.hum1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
openwall.com/lists/oss-security/2011/07/12/14
ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released
bugzilla.redhat.com/show_bug.cgi?id=722415
openwall.com/lists/oss-security/2011/07/20/16
redmine.ruby-lang.org/issues/show/4338
svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog
Show 171 moreShow less
svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=31713
lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.html
exchange.xforce.ibmcloud.com/vulnerabilities/69032
openwall.com/lists/oss-security/2011/07/20/1
openwall.com/lists/oss-security/2011/07/11/1
securityfocus.com/bid/49015
lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.html
nvd.nist.gov/vuln/detail/CVE-2011-2686
github.com/advisories/GHSA-g8g6-3p4h-6388
docs.bell-sw.com/security/cves/CVE-2011-2686
access.redhat.com/errata/RHSA-2026:7305
images.redhat.com
access.redhat.com/security/cve/CVE-2026-27820
access.redhat.com/security/updates/classification
access.redhat.com/security/cve/CVE-2008-3905
access.redhat.com/security/cve/CVE-2008-3657
access.redhat.com/security/cve/CVE-2008-3656
access.redhat.com/security/cve/CVE-2008-3655
access.redhat.com/security/cve/CVE-2024-27282
access.redhat.com/security/cve/CVE-2021-31810
access.redhat.com/security/cve/CVE-2019-16254
access.redhat.com/security/cve/CVE-2018-8780
access.redhat.com/security/cve/CVE-2017-14064
access.redhat.com/security/cve/CVE-2017-10784
access.redhat.com/security/cve/CVE-2015-9096
access.redhat.com/security/cve/CVE-2014-8090
access.redhat.com/security/cve/CVE-2014-8080
access.redhat.com/security/cve/CVE-2014-6438
access.redhat.com/security/cve/CVE-2014-4975
access.redhat.com/security/cve/CVE-2013-1821
access.redhat.com/security/cve/CVE-2012-5371
access.redhat.com/security/cve/CVE-2011-4815
access.redhat.com/security/cve/CVE-2008-1891
access.redhat.com/security/cve/CVE-2023-28756
access.redhat.com/security/cve/CVE-2022-28739
access.redhat.com/security/cve/CVE-2021-41819
access.redhat.com/security/cve/CVE-2021-28965
access.redhat.com/security/cve/CVE-2020-25613
access.redhat.com/security/cve/CVE-2008-2725
access.redhat.com/security/cve/CVE-2008-2663
access.redhat.com/security/cve/CVE-2008-2726
access.redhat.com/security/cve/CVE-2008-2662
access.redhat.com/security/cve/CVE-2011-0188
access.redhat.com/security/cve/CVE-2008-2664
access.redhat.com/security/cve/CVE-2011-3009
access.redhat.com/security/cve/CVE-2011-2686
access.redhat.com/security/cve/CVE-2011-2705
access.redhat.com/security/cve/CVE-2009-5147
access.redhat.com/security/cve/CVE-2015-7551
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_7305.json
bugzilla.redhat.com/show_bug.cgi?id=443829
cve.org/CVERecord?id=CVE-2008-1891
nvd.nist.gov/vuln/detail/CVE-2008-1891
bugzilla.redhat.com/show_bug.cgi?id=450821
cve.org/CVERecord?id=CVE-2008-2662
nvd.nist.gov/vuln/detail/CVE-2008-2662
bugzilla.redhat.com/show_bug.cgi?id=450825
cve.org/CVERecord?id=CVE-2008-2663
nvd.nist.gov/vuln/detail/CVE-2008-2663
bugzilla.redhat.com/show_bug.cgi?id=450834
cve.org/CVERecord?id=CVE-2008-2664
nvd.nist.gov/vuln/detail/CVE-2008-2664
bugzilla.redhat.com/show_bug.cgi?id=451821
cve.org/CVERecord?id=CVE-2008-2725
nvd.nist.gov/vuln/detail/CVE-2008-2725
bugzilla.redhat.com/show_bug.cgi?id=451828
cve.org/CVERecord?id=CVE-2008-2726
nvd.nist.gov/vuln/detail/CVE-2008-2726
bugzilla.redhat.com/show_bug.cgi?id=458948
cve.org/CVERecord?id=CVE-2008-3655
nvd.nist.gov/vuln/detail/CVE-2008-3655
bugzilla.redhat.com/show_bug.cgi?id=458953
cve.org/CVERecord?id=CVE-2008-3656
nvd.nist.gov/vuln/detail/CVE-2008-3656
bugzilla.redhat.com/show_bug.cgi?id=458966
cve.org/CVERecord?id=CVE-2008-3657
nvd.nist.gov/vuln/detail/CVE-2008-3657
bugzilla.redhat.com/show_bug.cgi?id=461495
cve.org/CVERecord?id=CVE-2008-3905
nvd.nist.gov/vuln/detail/CVE-2008-3905
bugzilla.redhat.com/show_bug.cgi?id=1248935
cve.org/CVERecord?id=CVE-2009-5147
nvd.nist.gov/vuln/detail/CVE-2009-5147
bugzilla.redhat.com/show_bug.cgi?id=682332
cve.org/CVERecord?id=CVE-2011-0188
nvd.nist.gov/vuln/detail/CVE-2011-0188
cve.org/CVERecord?id=CVE-2011-2686
cve.org/CVERecord?id=CVE-2011-2705
nvd.nist.gov/vuln/detail/CVE-2011-2705
cve.org/CVERecord?id=CVE-2011-3009
nvd.nist.gov/vuln/detail/CVE-2011-3009
bugzilla.redhat.com/show_bug.cgi?id=750564
cve.org/CVERecord?id=CVE-2011-4815
nvd.nist.gov/vuln/detail/CVE-2011-4815
bugzilla.redhat.com/show_bug.cgi?id=875236
cve.org/CVERecord?id=CVE-2012-5371
nvd.nist.gov/vuln/detail/CVE-2012-5371
bugzilla.redhat.com/show_bug.cgi?id=914716
cve.org/CVERecord?id=CVE-2013-1821
nvd.nist.gov/vuln/detail/CVE-2013-1821
ruby-lang.org/en/news/2013/02/22/rexml-dos-2013-02-22
bugzilla.redhat.com/show_bug.cgi?id=1118158
cve.org/CVERecord?id=CVE-2014-4975
nvd.nist.gov/vuln/detail/CVE-2014-4975
bugzilla.redhat.com/show_bug.cgi?id=1490845
cve.org/CVERecord?id=CVE-2014-6438
nvd.nist.gov/vuln/detail/CVE-2014-6438
ruby-lang.org/en/news/2014/08/19/ruby-1-9-2-p330-released
bugzilla.redhat.com/show_bug.cgi?id=1157709
cve.org/CVERecord?id=CVE-2014-8080
nvd.nist.gov/vuln/detail/CVE-2014-8080
ruby-lang.org/en/news/2014/10/27/rexml-dos-cve-2014-8080
bugzilla.redhat.com/show_bug.cgi?id=1159927
cve.org/CVERecord?id=CVE-2014-8090
nvd.nist.gov/vuln/detail/CVE-2014-8090
ruby-lang.org/en/news/2014/11/13/rexml-dos-cve-2014-8090
cve.org/CVERecord?id=CVE-2015-7551
nvd.nist.gov/vuln/detail/CVE-2015-7551
bugzilla.redhat.com/show_bug.cgi?id=1461846
cve.org/CVERecord?id=CVE-2015-9096
nvd.nist.gov/vuln/detail/CVE-2015-9096
bugzilla.redhat.com/show_bug.cgi?id=1492012
cve.org/CVERecord?id=CVE-2017-10784
nvd.nist.gov/vuln/detail/CVE-2017-10784
ruby-lang.org/en/news/2017/09/14/webrick-basic-auth-escape-sequence-injection-cve-2017-10784
bugzilla.redhat.com/show_bug.cgi?id=1487552
cve.org/CVERecord?id=CVE-2017-14064
nvd.nist.gov/vuln/detail/CVE-2017-14064
ruby-lang.org/en/news/2017/09/14/json-heap-exposure-cve-2017-14064
bugzilla.redhat.com/show_bug.cgi?id=1561949
cve.org/CVERecord?id=CVE-2018-8780
nvd.nist.gov/vuln/detail/CVE-2018-8780
ruby-lang.org/en/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780
bugzilla.redhat.com/show_bug.cgi?id=1789556
cve.org/CVERecord?id=CVE-2019-16254
nvd.nist.gov/vuln/detail/CVE-2019-16254
bugzilla.redhat.com/show_bug.cgi?id=1883623
cve.org/CVERecord?id=CVE-2020-25613
nvd.nist.gov/vuln/detail/CVE-2020-25613
ruby-lang.org/en/news/2020/09/29/http-request-smuggling-cve-2020-25613
bugzilla.redhat.com/show_bug.cgi?id=1947526
cve.org/CVERecord?id=CVE-2021-28965
nvd.nist.gov/vuln/detail/CVE-2021-28965
bugzilla.redhat.com/show_bug.cgi?id=1980126
cve.org/CVERecord?id=CVE-2021-31810
nvd.nist.gov/vuln/detail/CVE-2021-31810
ruby-lang.org/en/news/2021/07/07/trusting-pasv-responses-in-net-ftp
bugzilla.redhat.com/show_bug.cgi?id=2026757
cve.org/CVERecord?id=CVE-2021-41819
nvd.nist.gov/vuln/detail/CVE-2021-41819
bugzilla.redhat.com/show_bug.cgi?id=2075687
cve.org/CVERecord?id=CVE-2022-28739
nvd.nist.gov/vuln/detail/CVE-2022-28739
ruby-lang.org/en/news/2022/04/12/buffer-overrun-in-string-to-float-cve-2022-28739
bugzilla.redhat.com/show_bug.cgi?id=2184061
cve.org/CVERecord?id=CVE-2023-28756
nvd.nist.gov/vuln/detail/CVE-2023-28756
ruby-lang.org/en/news/2023/03/30/redos-in-time-cve-2023-28756
bugzilla.redhat.com/show_bug.cgi?id=2276810
cve.org/CVERecord?id=CVE-2024-27282
nvd.nist.gov/vuln/detail/CVE-2024-27282
ruby-lang.org/en/news/2024/04/23/arbitrary-memory-address-read-regexp-cve-2024-27282
bugzilla.redhat.com/show_bug.cgi?id=2459002
cve.org/CVERecord?id=CVE-2026-27820
nvd.nist.gov/vuln/detail/CVE-2026-27820
github.com/ruby/zlib/security/advisories/GHSA-g857-hhfv-j68w
hackerone.com/reports/3467067
access.redhat.com/errata/RHSA-2026:7307
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_7307.json
access.redhat.com/errata/RHSA-2026:8838
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_8838.json