Skip to content
EventPast event

Ruby case-conversion heap overflow vulnerability, Rails default configuration affected

1 reports1 reporting sourcesLatest report

Start here

AI overview

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)

Nov 23Nov 24Nov 25Nov 26Now 30

Progress timeline

Nov 21
Nov 20
Nov 19
  1. Veria Labs
    Ruby2Shell (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

Total 65 items

Attention trend

New sources per day

62 in 11 days·most 29 (Nov 21)·today 0

  • 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)

Hourly attention

Current attention 30·Peak in the comparable period 39 (Nov 22 21:00)·Change over the comparable past 24 hours -1%

010203040Nov 2221:00Nov 2402:00Nov 2506:00Nov 2611:00