Act nowVulnerabilities

Ruby fixes seven memory flaws in regex and string handling; update to 4.0.10, 3.4.13 or 3.3.14, because proofs of concept already exist

On 18 November 2026 the Ruby project released 4.0.10, 3.4.13 and 3.3.14 to fix seven memory-safety flaws in regular expressions and string case conversion. Five are described as able to lead to code execution, and the project says it is aware of proofs of concept for some. No CVE numbers have been assigned yet. Ruby 3.2 and earlier get no fix.

How urgent

Act now

Who is affected

Anyone running Ruby 3.3.13 or earlier, 3.4.0 to 3.4.12, or 4.0.0 to 4.0.9, which includes Rails apps, background workers, scripts and container images built on those versions. Ruby 3.2 and earlier are end of life and get no fix

What to do

Update Ruby to 4.0.10, 3.4.13 or 3.3.14 (or move off 3.2 and earlier), rebuild and redeploy your container images and CI images, and restart long-running workers. Start with services that pass untrusted text into regular expressions or case-conversion methods

Published 19 Nov 2026 · Sources last checked 19 Nov 2026No. 97 / 168

Watch the short video

The video loads from YouTube (privacy-enhanced mode) only when you press play.

What happened

The Ruby project published a security announcement on 18 November 2026 (its history says it was first published on 19 November, 00:00 UTC) for seven flaws in how Ruby handles regular expressions and string case conversion. It released Ruby 4.0.10, 3.4.13 and 3.3.14. The affected versions are 3.3.13 and earlier, 3.4.0 through 3.4.12, and 4.0.0 through 4.0.9. Ruby 3.3 is in security maintenance; Ruby 3.2 and earlier are end of life and receive no fix.

What the flaws are

The announcement lists seven GitHub security advisories and no CVECVE A public ID number, like CVE-2026-12345, given to one specific security flaw so everyone can talk about the same bug. Tap again to open the glossary numbers yet (it says CVE IDs were requested but not assigned). Five are described as able to lead to code execution:

  • heap buffer overflow and integer overflow in string case conversion;
  • a double free and an integer overflow in regular expression compilation;
  • a heap buffer overflow in Regexp#to_s (information disclosure or code execution).

The other two are out-of-bounds reads in case-insensitive matching, which can expose memory or crash the program. The announcement says the project is aware of proofs of concept that show some of them can trigger remote code executionRCE (remote code execution) A flaw that lets an attacker run their own code on your server or device from a distance. Tap again to open the glossary. It does not report attacks against real systems, and gives no severity scores.

Why it matters if you build with Ruby

Regular expressions and string case conversion run on almost everything: form fields, parsed files, API parameters, log lines. A flaw in those paths is reachable wherever your app handles text that a stranger can send. Whether a particular app is exposed depends on whether untrusted text reaches the affected methods; we have not tested any application, and we do not publish exploitExploit A piece of code or a technique that takes advantage of a specific flaw to get something the attacker should not get. Tap again to open the glossary details.

What to do

  1. Update Ruby to 4.0.10, 3.4.13 or 3.3.14. If you are on 3.2 or earlier, plan the move to a supported version now, because there is no patchPatch (security update) A fix released by the maker of a piece of software to close a flaw or a bug. Tap again to open the glossary for you.
  2. Rebuild and redeploy container images and CI images that bundle Ruby, and restart long-running workers so they load the new interpreter.
  3. Find the less obvious copies: build images, base images, version-manager installs on servers and Ruby inside other tools.
  4. Start with exposed services, especially anything that passes untrusted text into regular expressions or case-conversion methods.

What we do not know

Whether any attack is using these flaws; the CVE numbers; and how easy each proof of concept is to reproduce in a real application.

What we could not confirm

We read the official Ruby announcement and the release listing on 19 November 2026. The Hacker News article could not be read (access refused), so we cite it only for its headline claim and rely on the project's own wording about proofs of concept.

Keep reading

More stories on the same topic or from the same area.

Comments

No account needed. Add a nickname if you like, or leave it empty to comment anonymously. Comments are reviewed before they appear. Links are not allowed.

    We store your comment, your nickname and a scrambled form of your connection that we use only to limit spam. We do not store your IP address or set cookies. Cloudflare Turnstile checks that you are not a bot.

    Sources and verification

    We use primary sources first and say when we rely on a news report. Dates are the day we last checked each source.

    Spotted a mistake? Email [email protected] and we will correct it and note the change.

    Newsletter · every Friday · free

    Get the weekly security briefing

    One email every Friday: what to act on now and what to plan this week, in plain words. The free one-page runbooks come in your welcome email. You confirm your address first.

    Subscribe for free

    Press / to search from any page