A critical vulnerability named ruby2ßhell has been discovered in certain versions of Ruby, specifically those processing the ß character. This vulnerability allows for potential remote code execution through a buffer overflow, according to multiple sources.

The flaw impacts applications utilizing ISO-8859 or Windows-125x character sets and specific string manipulation functions, such as upcase and swapcase. Exploitation of this vulnerability requires inputting a string with 21 or more ß characters, which leads to a buffer overflow.

Popular Ruby frameworks like Rails and Sinatra, as well as self-hosted applications such as GitLab and Mastodon, are affected by this vulnerability. Ruby has responded by releasing patched versions 3.3.14, 3.4.13, and 4.0.10 to mitigate the issue.

Although no CVE number has been assigned yet, a security advisory has been issued. Additionally, a proof-of-concept code is expected to be published in a week, which may provide further insights into the vulnerability's exploitation.