Ruby case-conversion heap overflow vulnerability, Rails default configuration affected
Start here
Veria Labs disclosed the Ruby vulnerability CVE-2026-132825 (Ruby2Shell): Ruby has a one-byte heap overflow when performing case conversion under multiple legacy single-byte encodings, present since 2.4.0. Converting ß to uppercase writes two bytes while the loop checks the boundary only once, and the output buffer is allocated as input length plus 20 bytes, so input containing 21 ß characters overflows by one byte; upcase, swapcase, downcase(:fold), and casecmp? can reach it, and UTF-8 is unaffected. Rails and classic-style Sinatra default configurations can reach it; fixed versions are 4.0.10, 3.4.13, and 3.3.14, and 3.2 and earlier are no longer supported; GitHub Enterprise Server 3.22.5 and earlier and Chatwoot 4.20.0 and earlier have no fixed version yet, while GitLab, Mastodon, OpenProject, and Discourse have released fixes.
Generated by AI from reports · Updated 9 days ago
Attention and developments
Attention, hourly
Now 30, -1% in 24 hours·Peak 39 (Nov 22 21:00)
Progress timeline
- Hacker NewsHacker News· DiscussionRuby2ßhell: Pre-authentication RCE on stock Rails(opens the original post in a new tab)
- Veria LabsRuby2Shell (CVE-2026-132825): case-conversion heap overflow, Rails default configuration affected
Veria Labs disclosed the Ruby vulnerability CVE-2026-132825 (Ruby2Shell): Ruby has a one-byte heap overflow when performing case conversion under multiple legacy single-byte encodings, present since 2.4.0. Converting ß to uppercase writes two bytes while the loop checks the boundary only once, and the output buffer is allocated as input length plus 20 bytes, so input containing 21 ß characters overflows by one byte; upcase, swapcase, downcase(:fold), and casecmp? can reach it, and UTF-8 is unaffected. Rails and classic-style Sinatra default configurations can reach it; fixed versions are 4.0.10, 3.4.13, and 3.3.14, and 3.2 and earlier are no longer supported; GitHub Enterprise Server 3.22.5 and earlier and Chatwoot 4.20.0 and earlier have no fixed version yet, while GitLab, Mastodon, OpenProject, and Discourse have released fixes.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- X@AChaiNotesCloudflare explained the WAF protection against ruby2shell (CVE-2026-132825). Security advisories are worth following, but rule blocking does not mean the server has been fixed. Administrators should first confirm whether assets use the affected component, the patch version, and the exposure surface, then use WAF to reduce transitional risk. Firewall…(opens the original post in a new tab)
- X@ndaylandCVE-2026-132825 +POC T+1d ruby-lang / Ruby ruby-lang Ruby: buffer overflow / out-of-bounds write Public PoC available:…(opens the original post in a new tab)
- X@xcademialtd🚨 Cloudflare adds WAF protection against Ruby2Shell, a critical vulnerability tracked as CVE-2026-132825. The move add…(opens the original post in a new tab)
1 likes·Nov 21 20:43Collect
- X@mitsuto_A summary of the Ruby vulnerability CVE-2026-132825 (Ruby2Shell) - piyolog https://t.co/8hN9GozhH4(opens the original post in a new tab)
- X@ooooooo_qA summary of the Ruby vulnerability CVE-2026-132825 (Ruby2Shell) - piyolog https://t.co/wLaFtnazCj(opens the original post in a new tab)
- X@jpsharadaRuby fixes 7 vulnerabilities including "Ruby2Shell"; risk of remote code execution. November 20, 2026 / SecurityWeek. Fixes 7 vulnerabilities including a heap buffer overflow (CVE-2026-132825). Ruby 4.0.10…(opens the original post in a new tab)
- X@NEWS_0A summary of the Ruby vulnerability CVE-2026-132825 (Ruby2Shell) - piyolog https://t.co/U5qopnoMOD(opens the original post in a new tab)
- X@mohritarohA summary of the Ruby vulnerability CVE-2026-132825 (Ruby2Shell) - piyolog 🅱 From Hatena Bookmark Technology New Arrivals https://t.co/hQehxcBDY9(opens the original post in a new tab)
- X@ll685998568638GitLab released an emergency patch on November 20 to fix a critical vulnerability codenamed Ruby2Shell (CVE-2026-132825): the vulnerability lies in the bundled Ruby runtime, where string case conversion writes out of bounds to heap memory; a carefully crafted string can, in some scenarios, be remotely exploited to execute code…(opens the original post in a new tab)
- X@aWebprogrammerA summary of the Ruby vulnerability CVE-2026-132825 (Ruby2Shell) - piyolog https://t.co/VaZqm48axC(opens the original post in a new tab)
- X@SecurityAr58409🔒 #CyberSecurity CVE-2026-132825: Ruby Ruby2Shell Heap Overflow — Unauthenticated RCE Detection … "The Ruby core team…(opens the original post in a new tab)
- X@corelight_incCorelight Labs has developed three Suricata rules, a custom Zeek detector, and hunting guidance to help defenders inves…(opens the original post in a new tab)
1 likes·Nov 21 10:13Collect
Attention trend
New sources per day
- Nov 19: 9 new sources (1 outlets, 8 accounts)
- Nov 20: 24 new sources (0 outlets, 24 accounts)
- Nov 21: 29 new sources (0 outlets, 29 accounts)
- Nov 22: 0 new sources (0 outlets, 0 accounts)
- Nov 23: 0 new sources (0 outlets, 0 accounts)
- Nov 24: 0 new sources (0 outlets, 0 accounts)
- Nov 25: 0 new sources (0 outlets, 0 accounts)
- Nov 26: 0 new sources (0 outlets, 0 accounts)
- Nov 27: 0 new sources (0 outlets, 0 accounts)
- Nov 28: 0 new sources (0 outlets, 0 accounts)
- Nov 29: 0 new sources (0 outlets, 0 accounts)