# SZB-cd9f530bf5: Ruby 4.0.10, 3.4.13 and 3.3.14 fix seven regex and string flaws; PoCs exist for five

Ruby's maintainers released fixed versions 4.0.10, 3.4.13 and 3.3.14 for seven memory-safety flaws in the regex engine and string case-conversion code.

- Type: Early warning
- Kind: Vulnerability
- Vendor: Ruby
- Product: Ruby
- Threat actor: MITRE
- Status: Confirmed
- Sources: 9 distinct
- First seen: 2026-11-19 01:16 UTC
- Confirmed: 2026-11-20 10:44 UTC

Written by a model from the sources below. Verify against them.

## Summary

Ruby's maintainers released fixed versions 4.0.10, 3.4.13 and 3.3.14 for seven memory-safety flaws in the regex engine and string case-conversion code. The maintainers say proof-of-concept code shows remote code execution for five of them, and the advisories report no attacks so far.

## What to do

- Upgrade to Ruby 4.0.10, 3.4.13 or 3.3.14 depending on your release line.
- Check whether your applications compile regular expressions or change string case from untrusted input.
- Review the GitHub advisories for each of the seven flaws.
- Check whether applications change the case of external text in single-byte encodings such as ISO-8859-1 or Windows-1252.
- Apply patches for Rails, Sinatra and other frameworks that depend on Ruby as their vendors release them.

## Timeline

- 2026-11-19 01:06 UTC: Made public by oss-security
- 2026-11-19 01:16 UTC: First seen by cve.now
- 2026-11-20 10:44 UTC: Confirmed as CVE-2026-132825
- 2026-11-22 12:02 UTC: Record last updated

## Evidence (9 sources)

- 2026-11-19 · Social · [oss-security](https://seclists.org/oss-sec/2026/q4/782): “Ruby: multiple vulnerabilities in Regexp and String case conversion” (+1 more: [oss-security](https://seclists.org/oss-sec/2026/q4/796))
- 2026-11-19 · Social · [Mastodon](https://infosec.exchange/@DailyCyberSecurity/117640613530973695): “Ruby 4.0.10, 3.4.13 and 3.3.14 fix seven Ruby regular expression and string bugs.”
- 2026-11-19 · Social · [Mastodon](https://mastodon.social/@EUVD_Bot/117642052800987910): “Ruby before 3.3.14, 3.4.13, and 4.0.10 has a heap-based buffer overflow during case conversion.”
- 2026-11-19 · Press · [The Hacker News](https://thehackernews.com/2026/11/ruby-releases-fixes-for-7-regex-and.html): “Ruby contains seven memory-safety flaws in its regular expression engine and its string case-conversion code.”
- 2026-11-19 · Social · [Mastodon](https://indieweb.social/@jbz/117642261325198253): “A one-byte heap overflow to remote code execution in Ruby's string case conversion.”
- 2026-11-19 · Social · [Mastodon](https://lemmy.ml/post/55489183): “Ruby2Shell (GHSA-34m4-m9fh-gqp5) https:// lemmy.ml/post/55489183”
- 2026-11-19 · Social · [Mastodon](https://infosec.exchange/@censys/117645506914021853): “Ruby heap buffer overflow (CVE-2026-132825) could allow RCE under specific conditions.”
- 2026-11-20 · Press · [SecurityWeek](https://www.securityweek.com/ruby-patches-ruby2shell-vulnerability-that-could-lead-to-rce/): “Tracked as CVE-2026-132825, the bug is a heap-based buffer overflow that could lead to remote code execution (RCE).”
- 2026-11-22 · Social · [Mastodon](https://infosec.exchange/@beyondmachines1/117659985371161207): “Ruby released security updates for seven vulnerabilities, including the critical Ruby2Shell flaw (CVE-2026-132825) that allows unauthenticated remote code execution.”

## Corrections

None so far.

Something wrong on this page? Report an error: https://github.com/sazabi/cve.now/issues/new?title=Wrong%20fact%20on%20SZB-cd9f530bf5&body=https%3A%2F%2Fcve.now%2FSZB-cd9f530bf5%0A%0AWhat%20is%20wrong%2C%20and%20the%20source%20that%20shows%20it%3A%0A

## Questions about Ruby 4.0.10, 3.4.13 and 3.3.14 fix seven regex and string flaws; PoCs exist for five

### Has Ruby confirmed it?

Yes. Confirmed as CVE-2026-132825.

Source: https://seclists.org/oss-sec/2026/q4/782, https://infosec.exchange/@DailyCyberSecurity/117640613530973695, https://mastodon.social/@EUVD_Bot/117642052800987910, https://thehackernews.com/2026/11/ruby-releases-fixes-for-7-regex-and.html, https://indieweb.social/@jbz/117642261325198253, https://lemmy.ml/post/55489183, https://infosec.exchange/@censys/117645506914021853, https://www.securityweek.com/ruby-patches-ruby2shell-vulnerability-that-could-lead-to-rce/, https://infosec.exchange/@beyondmachines1/117659985371161207

### What should Ruby and Onigmo users do?

Upgrade to Ruby 4.0.10, 3.4.13 or 3.3.14 depending on your release line. Check whether your applications compile regular expressions or change string case from untrusted input. Review the GitHub advisories for each of the seven flaws. Check whether applications change the case of external text in single-byte encodings such as ISO-8859-1 or Windows-1252. Apply patches for Rails, Sinatra and other frameworks that depend on Ruby as their vendors release them.

### Does it have a CVE?

Yes. It is tracked as CVE-2026-132825.

Source: https://cve.now/CVE-2026-132825

## Tracked as

- [CVE-2026-132825](https://cve.now/CVE-2026-132825.md)

## Related

- Browse: [Early warnings](https://cve.now/early-warnings.md)

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/SZB-cd9f530bf5
Site guide for agents: https://cve.now/llms.txt
