CVE-2026-132825: Ruby - Heap-based Buffer Overflow
- Cve: CVE-2026-132825
- Name: Ruby - Heap-based Buffer Overflow
- Description: Ruby before 3.3.14, 3.4.13, and 4.0.10 has a heap-based buffer overflow during case conversion. One byte can be written outside a buffer for, for example, ISO-8859-1 or Windows-1252.
- Impact: Attackers can write one byte outside a buffer, potentially causing memory corruption, denial of service, or arbitrary code execution.
- Remediation: Upgrade to Ruby 3.3.14, 3.4.13, 4.0.10 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: none
- Labels source: securitycontext
- Severity: high
- Cvss score: 7.4
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01976
- Epss percentile: 0.80899
- Assignee: [email protected]
- Published at: 2026-11-19T07:17:11Z
- Age in days: 5
- Modified at: 2026-11-21T04:17:20Z
- Patch available: yes
- Public exploits total: 6
- References total: 12
- Products total: 1
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-132825
- Nvd status: received
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-122 | Heap-based Buffer Overflow |
Public exploits
Same in every row:
- Source: poc-in-github
- Added date: 2026-11-20
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| ruby-lang:ruby | >= 4.0.0, < 4.0.10; >= 3.4.0, < 3.4.13; < 3.3.14 | no | cna | /v1/products/ruby-lang/ruby |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| ruby/ruby | security_advisory | yes | /v1/repositories/ruby/ruby |
| semgrep/detection-scripts | pull | yes | /v1/repositories/semgrep/detection-scripts |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 6
- Public exploit first date: 2026-11-19
- Exposed hosts: 2468570
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports
Watchlists
| Source | Status | Url | Listed on | Title |
|---|---|---|---|---|
| zero_wire | prioritize_patching | https://radar.cloudflare.com/zero-wire/ruby2shell | 2026-11-19 | ruby2shell: heap overflow in Ruby string case conversion |