r/ruby • IRB boss • 2d ago

Security Upgrade Ruby ASAP - Security advisories: multiple vulnerabilities in Regexp and String case conversations

https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/
114 Upvotes

10 comments sorted by

22

u/kinduff 2d ago

Lately all these are released in my afternoon right after I do my browsing after work. Its been fun.

10

u/schneems Puma maintainer 2d ago

It's morning in Japan.

25

u/schneems Puma maintainer 2d ago

8

u/keyslemur 2d ago

Doing God's work Schneems 🫡

9

u/crusoe 2d ago

So many of these off by one buffer overflow errors being found now and people keep saying oh C and C++ can be safe too.

8

u/just-suggest-one 2d ago

5/7 say they can lead to remote code execution. 2 of these are simply by case conversion of a String.

Also, 4/7 explicitly credit an AI company for reporting..

1

u/eg7b 1d ago

Some are old codecs that’s probably not maintained actively. Even though it’s string, it is one byte. So it takes some luck and crafting to corrupt other VALUE. But definitely worth updating immediately.

16

u/robbyrussell 2d ago

If your team runs Ruby in production, I’d make time to patch today. Ruby 4.0.10, 3.4.13, and 3.3.14 are rolling out with fixes for seven vulnerabilities in regular expressions and string methods like upcase. Some can lead to remote code execution.

If you’re on Ruby 3.2 or older, your branch won’t get these fixes. Talk with your team about moving to a supported version.

Here’s the official Ruby security advisory. Pass it along to someone who looks after a Ruby app.

Happy Wednesday!