CVE-2026-132825
CVE-2026-132825
CVSS 7.4 · High · EPSS 2.0% · Public exploit · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- rubyUpdate to 3.3.14 / 3.4.13 / 4.0.10
- ruby3.1 Debian 12Update to 3.1.7-1~deb12u2
- ruby3.3 Debian 13Update to 3.3.14-0+deb13u1
- ruby3.3 Debian 14No fix published
- and 14 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby3.1"'dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby3.3"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Ruby before 3.3.14, 3.4.13, and 4.0.10 has a heap-based buffer overflow during case conversion. One byte can be written outside a buffer for, for example, ISO-8859-1 or Windows-1252.
- Published
- Updated
Fixes in distributions
- RHSA-2026:103943 · Red Hat rhel eus 9.8 appstream ·
- RHSA-2026:103851 · Red Hat enterprise linux eus 10.0 ·
- RHSA-2026:103843 · Red Hat rhel e4s 8.8 appstream, Red Hat rhel tus 8.8 appstream ·
- RHSA-2026:103846 · Red Hat rhel aus 8.4 appstream, Red Hat rhel eus long life 8.4 appstream ·
- RHSA-2026:103850 · Red Hat rhel eus 9.6 appstream, Red Hat rhel eus 9.6 crb ·
- RHSA-2026:103805 · Red Hat rhel e4s 9.4 appstream ·
- RHSA-2026:103842 · Red Hat rhel aus 8.6 appstream, Red Hat rhel eus long life 8.6 appstream ·
- RHSA-2026:103790 · Red Hat enterprise linux eus 10.2 ·
- RHSA-2026:103804 · Red Hat rhel eus 9.8 appstream, Red Hat rhel eus 9.8 crb ·
- RHSA-2026:103537 · Red Hat satellite 6.16 el8, Red Hat satellite 6.16 el9, Red Hat satellite capsule 6.16 el8, Red Hat satellite capsule 6.16 el9 ·
- RHSA-2026:103534 · Red Hat satellite 6.19 el9, Red Hat satellite capsule 6.19 el9, Red Hat satellite maintenance 6.19 el9 ·
- RHSA-2026:103535 · Red Hat satellite 6.18 el9, Red Hat satellite capsule 6.18 el9, Red Hat satellite maintenance 6.18 el9 ·
- RHSA-2026:103536 · Red Hat satellite 6.17 el9, Red Hat satellite capsule 6.17 el9 ·
- RLSA-2026:102854 · Rocky Linux 9 ·
- RHSA-2026:103450 · Red Hat rhel satellite openvox 6 el10, Red Hat rhel satellite openvox 6 el7, Red Hat rhel satellite openvox 6 el8, Red Hat rhel satellite openvox 6 el9 ·
- RHSA-2026:102928 · Red Hat Enterprise Linux 8 appstream ·
- RHSA-2026:102909 · Red Hat Enterprise Linux 8 appstream ·
- RHSA-2026:102883 · Red Hat Enterprise Linux 9 appstream ·
- RHSA-2026:102854 · Red Hat Enterprise Linux 9 appstream, Red Hat Enterprise Linux 9 crb ·
- RHSA-2026:102869 · Red Hat Enterprise Linux 9 appstream ·
- RHSA-2026:102715 · Red Hat Enterprise Linux 10.3 ·
- RHSA-2026:102714 · Red Hat Enterprise Linux 10.3 ·
- RLSA-2026:102714 · Rocky Linux 10 ·
- RLSA-2026:102715 · Rocky Linux 10 ·
- RLSA-2026:102869 · Rocky Linux 9 ·
- RLSA-2026:102883 · Rocky Linux 9 ·
- RLSA-2026:102909 · Rocky Linux 8 ·
- RLSA-2026:102928 · Rocky Linux 8 ·
- ALSA-2026:102714 · AlmaLinux 10 ·
- ALSA-2026:102715 · AlmaLinux 10 ·
- ALSA-2026:102854 · AlmaLinux 9 ·
- ALSA-2026:102869 · AlmaLinux 9 ·
- ALSA-2026:102883 · AlmaLinux 9 ·
- ALSA-2026:102909 · AlmaLinux 8 ·
- ALSA-2026:102928 · AlmaLinux 8 ·
- RHSA-2026:101632 · Red Hat hummingbird 1 ·
- RHSA-2026:101662 · Red Hat hummingbird 1 ·
- RHSA-2026:100837 · Red Hat hummingbird 1 ·
- SUSE-SU-2026:5417-1 · SUSE Linux Enterprise Module for Basesystem 15 SP7 ·
- SUSE-SU-2026:5416-1 · SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
- SUSE-SU-2026:24900-1 · SUSE Linux Enterprise Server for NVIDIA 16.1 ·
- openSUSE-SU-2026:22448-1 · openSUSE Leap 16.1 ·
- SUSE-SU-2026:24926-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- openSUSE-SU-2026:22420-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:24955-1 · SUSE Linux Enterprise Server 16.1, SUSE Linux Enterprise Server for SAP applications 16.1 ·
- SUSE-SU-2026:5413-1 · SUSE Linux Enterprise Module for Basesystem 15 SP7, SUSE Linux Enterprise Module for Development Tools 15 SP7 ·
- DLA-4926-1 · Debian 12 ·
- DSA-6644-1 · Debian 13 ·
Stack: system
Affected products and versions
ruby
- Versions
- ≥ 0, < 3.3.14: Affected (semver)
- ≥ 3.4.0, < 3.4.13: Affected (semver)
- ≥ 4.0.0, < 4.0.10: Affected (semver)
Update to 3.3.14; Update to 3.4.13; Update to 4.0.10
ruby3.1 Debian 12
- Versions
- 3.1.2-7
- 3.1.2-7+deb12u1
- 3.1.2-7+hurd.1
- 3.1.2-8
- 3.1.2-8.1~exp1
- 3.1.2-8.3
All versions (8)
- 3.1.2-8.4
- 3.1.2-8.5
- Affected ranges
- ECOSYSTEM: < 3.1.7-1~deb12u2
Update to 3.1.7-1~deb12u2
ruby3.3 Debian 13
- Versions
- 3.3.13-0+deb13u1
- 3.3.8-2
- 3.3.8-2.1
- 3.3.8-2.2
- Affected ranges
- ECOSYSTEM: < 3.3.14-0+deb13u1
Update to 3.3.14-0+deb13u1
ruby3.3 Debian 14
- Versions
- 3.3.8-2
- 3.3.8-2.1
- 3.3.8-2.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
jruby Ubuntu Pro 14.04 LTS
- Versions
- 1.5.6-5ubuntu1
- 1.5.6-6
- 1.5.6-7
- 1.5.6-9+deb8u2build0.14.04.1~esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby2.3 Ubuntu Pro 16.04 LTS
- Versions
- 2.3.0-1
- 2.3.0-2
- 2.3.0-4ubuntu2
- 2.3.0-4ubuntu3
- 2.3.0-5ubuntu1
- 2.3.1-2~16.04
All versions (33)
- 2.3.1-2~16.04.2
- 2.3.1-2~16.04.4
- 2.3.1-2~16.04.5
- 2.3.1-2~16.04.6
- 2.3.1-2~16.04.7
- 2.3.1-2~16.04.9
- 2.3.1-2~16.04.10
- 2.3.1-2~16.04.11
- 2.3.1-2~16.04.12
- 2.3.1-2~ubuntu16.04.13
- 2.3.1-2~ubuntu16.04.14
- 2.3.1-2~ubuntu16.04.15
- 2.3.1-2~ubuntu16.04.16
- 2.3.1-2~ubuntu16.04.16+esm1
- 2.3.1-2~ubuntu16.04.16+esm2
- 2.3.1-2~ubuntu16.04.16+esm3
- 2.3.1-2~ubuntu16.04.16+esm4
- 2.3.1-2~ubuntu16.04.16+esm5
- 2.3.1-2~ubuntu16.04.16+esm6
- 2.3.1-2~ubuntu16.04.16+esm7
- 2.3.1-2~ubuntu16.04.16+esm8
- 2.3.1-2~ubuntu16.04.16+esm9
- 2.3.1-2~ubuntu16.04.16+esm10
- 2.3.1-2~ubuntu16.04.16+esm11
- 2.3.1-2~ubuntu16.04.16+esm12
- 2.3.1-2~ubuntu16.04.16+esm14
- 2.3.1-2~ubuntu16.04.16+esm15
- Affected ranges
- ECOSYSTEM: < 2.3.1-2~ubuntu16.04.16+esm16
Update to 2.3.1-2~ubuntu16.04.16+esm16
jruby Ubuntu 16.04 LTS
- Versions
- 1.7.21-2ubuntu4
- 1.7.22-1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby2.5 Ubuntu Pro 18.04 LTS
- Versions
- 2.5.0~preview1-1ubuntu2
- 2.5.0-4ubuntu1
- 2.5.0-4ubuntu4
- 2.5.0-5ubuntu1
- 2.5.0-6ubuntu1
- 2.5.1-1ubuntu1
All versions (28)
- 2.5.1-1ubuntu1.1
- 2.5.1-1ubuntu1.2
- 2.5.1-1ubuntu1.4
- 2.5.1-1ubuntu1.5
- 2.5.1-1ubuntu1.6
- 2.5.1-1ubuntu1.7
- 2.5.1-1ubuntu1.8
- 2.5.1-1ubuntu1.9
- 2.5.1-1ubuntu1.10
- 2.5.1-1ubuntu1.11
- 2.5.1-1ubuntu1.12
- 2.5.1-1ubuntu1.13
- 2.5.1-1ubuntu1.14
- 2.5.1-1ubuntu1.15
- 2.5.1-1ubuntu1.16
- 2.5.1-1ubuntu1.16+esm1
- 2.5.1-1ubuntu1.16+esm3
- 2.5.1-1ubuntu1.16+esm4
- 2.5.1-1ubuntu1.16+esm5
- 2.5.1-1ubuntu1.16+esm6
- 2.5.1-1ubuntu1.16+esm7
- 2.5.1-1ubuntu1.16+esm8
- Affected ranges
- ECOSYSTEM: < 2.5.1-1ubuntu1.16+esm9
Update to 2.5.1-1ubuntu1.16+esm9
jruby Ubuntu 18.04 LTS
- Versions
- 9.1.13.0-1
- 9.1.17.0-1~18.04
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby2.7 Ubuntu Pro 20.04 LTS
- Versions
- 2.7.0-1
- 2.7.0-2
- 2.7.0-3
- 2.7.0-4
- 2.7.0-4ubuntu1
- 2.7.0-5ubuntu1
All versions (28)
- 2.7.0-5ubuntu1.1
- 2.7.0-5ubuntu1.2
- 2.7.0-5ubuntu1.3
- 2.7.0-5ubuntu1.4
- 2.7.0-5ubuntu1.5
- 2.7.0-5ubuntu1.6
- 2.7.0-5ubuntu1.7
- 2.7.0-5ubuntu1.8
- 2.7.0-5ubuntu1.9
- 2.7.0-5ubuntu1.10
- 2.7.0-5ubuntu1.11
- 2.7.0-5ubuntu1.12
- 2.7.0-5ubuntu1.13
- 2.7.0-5ubuntu1.14
- 2.7.0-5ubuntu1.15
- 2.7.0-5ubuntu1.16
- 2.7.0-5ubuntu1.17
- 2.7.0-5ubuntu1.18
- 2.7.0-5ubuntu1.18+esm1
- 2.7.0-5ubuntu1.18+esm3
- 2.7.0-5ubuntu1.18+esm4
- 2.7.0-5ubuntu1.18+esm5
- Affected ranges
- ECOSYSTEM: < 2.7.0-5ubuntu1.18+esm6
Update to 2.7.0-5ubuntu1.18+esm6
jruby Ubuntu 20.04 LTS
- Versions
- 9.1.17.0-3
- 9.1.17.0-3build5
- 9.1.17.0-3build6
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby3.0 Ubuntu 22.04 LTS
- Versions
- 3.0.2-5ubuntu1
- 3.0.2-7
- 3.0.2-7ubuntu2
- 3.0.2-7ubuntu2.1
- 3.0.2-7ubuntu2.2
- 3.0.2-7ubuntu2.3
All versions (15)
- 3.0.2-7ubuntu2.4
- 3.0.2-7ubuntu2.5
- 3.0.2-7ubuntu2.6
- 3.0.2-7ubuntu2.7
- 3.0.2-7ubuntu2.8
- 3.0.2-7ubuntu2.10
- 3.0.2-7ubuntu2.11
- 3.0.2-7ubuntu2.12
- 3.0.2-7ubuntu2.13
- Affected ranges
- ECOSYSTEM: < 3.0.2-7ubuntu2.14
Update to 3.0.2-7ubuntu2.14
jruby Ubuntu 24.04 LTS
- Versions
- 9.3.9.0+ds-1
- 9.4.5.0+ds-1
- 9.4.5.0+ds-1ubuntu1
- 9.4.6.0+ds-1ubuntu3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby3.2 Ubuntu 24.04 LTS
- Versions
- 3.2.3-1
- 3.2.3-1build2
- 3.2.3-1build3
- 3.2.3-1ubuntu0.24.04.1
- 3.2.3-1ubuntu0.24.04.3
- 3.2.3-1ubuntu0.24.04.5
All versions (9)
- 3.2.3-1ubuntu0.24.04.6
- 3.2.3-1ubuntu0.24.04.7
- 3.2.3-1ubuntu0.24.04.8
- Affected ranges
- ECOSYSTEM: < 3.2.3-1ubuntu0.24.04.9
Update to 3.2.3-1ubuntu0.24.04.9
jruby Ubuntu 26.10
- Versions
- 9.4.8.0+ds-3ubuntu1
- 9.4.14.0+ds-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby3.3 Ubuntu 26.10
- Versions
- 3.3.8-2ubuntu3
- 3.3.8-2.2ubuntu4
- Affected ranges
- ECOSYSTEM: < 3.3.8-2.2ubuntu4.1
Update to 3.3.8-2.2ubuntu4.1
jruby Ubuntu 26.04 LTS
- Versions
- 9.4.8.0+ds-3ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ruby3.3 Ubuntu 26.04 LTS
- Versions
- 3.3.8-2ubuntu2
- 3.3.8-2ubuntu3
- 3.3.8-2ubuntu3.1
- Affected ranges
- ECOSYSTEM: < 3.3.8-2ubuntu3.2
Update to 3.3.8-2ubuntu3.2
Original sources
- https://news.ycombinator.com/item?id=50554038
- https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/
- https://github.com/ruby/ruby/security/advisories/GHSA-34m4-m9fh-gqp5
- https://ubuntu.com/security/CVE-2026-132825
- https://bugzilla.suse.com/show_bug.cgi?id=1290919
- https://verialabs.com/ruby2shell/
- https://github.com/evenomn/CVE-2026-132825
- https://github.com/semgrep/detection-scripts/pull/16
- https://gitlab.com/gitlab-org/omnibus-gitlab/-/commit/8fcf9d6372da3fe553bd21c3beae70634d6ba936
- http://www.openwall.com/lists/oss-security/2026/11/20/5
- https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-6-1-released/
- https://lists.debian.org/debian-lts-announce/2026/11/msg00052.html
- https://nvd.nist.gov/vuln/detail/CVE-2026-132825