BreachSpiderVerified, not vibes

CVE-2011-2686 in Ruby-Lang Ruby

Medium 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...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 2.05.0
EPSS2.6%
EPSS percentile86th
FixUnknown

Remotely exploitable over the network, low complexity, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Ruby-Lang Ruby 1.8.7-p21 ≤ 1.8.7-334

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2011-2686
BreachSpider IDBS-2011-GLOBAL-318115-M
CVSS vectorAV:N/AC:L/Au:N/C:P/I:N/A:N
Published2011-08-05
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-310: Cryptographic Issues

Broad class covering misuse of cryptography: weak algorithms, insufficient key length, improper certificate validation.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2011. A medium severity vulnerability affects Ruby-Lang systems (CVE-2011-2686). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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. CVSS vector: AV:N/AC:L/Au:N/C:P/I:N/A:N.

Questions

What is CVE-2011-2686?

This vulnerability was disclosed in 2011. A medium severity vulnerability affects Ruby-Lang systems (CVE-2011-2686). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2011-2686?

CVE-2011-2686 has CVSS 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N. EPSS: 2.6%.

Is CVE-2011-2686 actively exploited?

No confirmed active exploitation of CVE-2011-2686 as of 2026-09-25.

How do I remediate CVE-2011-2686?

Priority: MONITOR.

What systems are affected by CVE-2011-2686?

CVE-2011-2686 affects Ruby-Lang Ruby.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Ruby-Lang","product":"Ruby","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.