JM Tech Power

新闻

Ruby security releases: update to 4.0.10, 3.4.13 or 3.3.14 — and self-managed GitLab to 19.6.1, 19.5.8 or 19.4.10

← All articles Email RSS Atom

News · written 25 November 2026. A summary for readers, not technical advice — check the sources at the end for the details.

Ruby is the programming language behind Ruby on Rails and many web apps and tools. On 18 November 2026 the Ruby team published a security advisory: "Seven vulnerabilities have been discovered" in regular expressions (Regexp) and in changing the case of strings, and the team writes: "We are aware of PoCs that prove some of them can be used to trigger remote code execution." New releases came out the same day.

Which Ruby to install

  • Ruby 4.0: 4.0.10 (affected: 4.0.0 through 4.0.9).
  • Ruby 3.4: 3.4.13 (affected: 3.4.0 through 3.4.12).
  • Ruby 3.3: 3.3.14 (affected: 3.3.13 and earlier).
  • Ruby 3.2 and earlier have reached end of life and "will not receive these fixes" — move to a supported series.

Check what you have with ruby -v. The 3.3.14 release post says Ruby 3.3's official support is scheduled to end at the end of March 2027.

What the flaws are

The advisory lists them by GitHub Security Advisory (GHSA) number, because CVE numbers "have been requested ... but have not been assigned yet":

  • GHSA-34m4-m9fh-gqp5 — heap buffer overflow when changing the case of a crafted string.
  • GHSA-87fm-7w84-j2px — integer overflow in string case conversion.
  • GHSA-7x2q-68qv-6p8x — double free when compiling a crafted regular expression.
  • GHSA-3p8q-wmhx-vm2w — heap buffer overflow in regex compilation.
  • GHSA-wpqw-5qxg-m68r — out-of-bounds read in case-insensitive regex matching.
  • GHSA-7whj-cfh7-xgm4 — heap buffer overflow in Regexp#to_s.
  • GHSA-pvgc-g7gj-pv6h — out-of-bounds read in case-insensitive backreference matching, which may disclose memory or crash the process.

Apps that compile regular expressions from user input are the most exposed: the advisory says the double free "may allow remote code execution in applications that compile attacker-controlled patterns".

GitLab: a critical patch release

GitLab is written in Ruby. On 20 November 2026 it released 19.6.1, 19.5.8 and 19.4.10 as a critical patch release for Community and Enterprise Edition, and recommends that self-managed installations upgrade "immediately".

  • GitLab tracks the case-conversion overflow as CVE-2026-132825 and says the versions also include the fixes for the other flaws in Ruby's advisory.
  • Official GitLab Linux packages and container images already include the patched Ruby.
  • If you compiled GitLab from source, you must rebuild its Ruby with 3.3.14 or 3.4.13 (or later in the same series).
  • GitLab.com and GitLab Dedicated are already patched; their customers do not need to do anything.
  • The releases have no new database migrations, and multi-node setups should not need downtime.

Sources

More news at https://jmtechpower.com/articles.

Comments (0)

No comments yet. Be the first to comment!