CVE-2026-132825
high
CVSS v3
7.4
CVSS v4 NEW
—
VIR risk
7.4
Description
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.
Predictions
Exploit likelihood
92%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Azure Linux Affected 2 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 4.0 | — | Affected | — |
| 3.0 | — | Affected | — |
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | ruby3.3 |
Fixed | 3.3.14-0+deb13u1 |
| sid | ruby3.3 |
Fixed | 3.3.14-0.1 |
| forky | ruby3.3 |
Affected | — |
| bookworm | ruby3.1 |
Fixed | 3.1.7-1~deb12u2 |
AlmaLinux Fixed 3 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 10 | ruby4.0-rubygem-mysql2 |
Fixed | 0.5.7-39.el10_3 |
| 10 | ruby4.0 ruby4.0-devel ruby4.0-doc |
Fixed | 4.0.10-39.el10_3 |
| 10 | ruby4.0-rubygem-pg |
Fixed | 1.6.3-39.el10_3 |
| 10 | rubygem-typeprof |
Fixed | 0.21.9-17.el10_3 |
| 10 | rubygem-rbs |
Fixed | 3.4.0-17.el10_3 |
| 10 | rubygem-rexml |
Fixed | 3.4.4-17.el10_3 |
| 10 | rubygem-irb |
Fixed | 1.13.1-17.el10_3 |
| 10 | rubygem-rdoc |
Fixed | 6.6.3.1-17.el10_3 |
| 10 | ruby-default-gems ruby-devel ruby-libs +3 more |
Fixed | 3.3.14-17.el10_3 |
| 10 | rubygem-bigdecimal |
Fixed | 3.1.5-17.el10_3 |
| 10 | rubygem-io-console |
Fixed | 0.7.1-17.el10_3 |
| 10 | rubygem-minitest |
Fixed | 5.20.0-17.el10_3 |
| 10 | rubygem-rss |
Fixed | 0.3.1-17.el10_3 |
| 10 | rubygem-racc |
Fixed | 1.7.3-17.el10_3 |
| 10 | rubygem-json |
Fixed | 2.7.2-17.el10_3 |
| 10 | rubygem-test-unit |
Fixed | 3.6.1-17.el10_3 |
| 10 | rubygem-rake |
Fixed | 13.1.0-17.el10_3 |
| 10 | rubygems rubygems-devel |
Fixed | 3.5.22-17.el10_3 |
| 10 | rubygem-psych |
Fixed | 5.1.2-17.el10_3 |
| 10 | rubygem-power_assert |
Fixed | 2.0.3-17.el10_3 |
| 10 | rubygem-bundler |
Fixed | 2.5.22-17.el10_3 |
| 9 | rubygem-rexml |
Fixed | 3.4.4-37.module_el9.9.0+370+8bfec1f7 |
| 9 | rubygem-test-unit |
Fixed | 3.7.5-37.module_el9.9.0+370+8bfec1f7 |
| 9 | rubygem-rbs |
Fixed | 3.10.0-37.module_el9.9.0+370+8bfec1f7 |
| 9 | rubygem-rdoc |
Fixed | 7.0.4-37.module_el9.9.0+370+8bfec1f7 |
| 9 | rubygem-typeprof |
Fixed | 0.31.1-37.module_el9.9.0+370+8bfec1f7 |
| 9 | rubygem-minitest |
Fixed | 6.0.0-37.module_el9.9.0+370+8bfec1f7 |
| 9 | rubygem-rss |
Fixed | 0.3.2-37.module_el9.9.0+370+8bfec1f7 |
| 9 | rubygems-devel rubygem-bundler rubygems |
Fixed | 4.0.20-37.module_el9.9.0+370+8bfec1f7 |
| 9 | ruby-default-gems ruby ruby-doc +3 more |
Fixed | 4.0.10-37.module_el9.9.0+370+8bfec1f7 |
| 9 | rubygem-pg-doc rubygem-pg |
Fixed | 1.6.3-1.module_el9.8.0+232+50f6dd36 |
| 9 | rubygem-mysql2-doc rubygem-mysql2 |
Fixed | 0.5.7-1.module_el9.8.0+232+50f6dd36 |
| 9 | rubygem-racc |
Fixed | 1.8.1-37.module_el9.9.0+370+8bfec1f7 |
| 9 | rubygem-power_assert |
Fixed | 3.0.1-37.module_el9.9.0+370+8bfec1f7 |
| 9 | rubygem-rake |
Fixed | 13.3.1-37.module_el9.9.0+370+8bfec1f7 |
| 9 | rubygem-irb |
Fixed | 1.16.0-37.module_el9.9.0+370+8bfec1f7 |
| 9 | rubygem-bigdecimal |
Fixed | 4.0.1-37.module_el9.9.0+370+8bfec1f7 |
| 9 | rubygem-io-console |
Fixed | 0.8.2-37.module_el9.9.0+370+8bfec1f7 |
| 9 | rubygem-psych |
Fixed | 5.3.1-37.module_el9.9.0+370+8bfec1f7 |
| 9 | rubygem-json |
Fixed | 2.18.3-37.module_el9.9.0+370+8bfec1f7 |
| 8 | rubygem-mongo rubygem-mongo-doc |
Fixed | 2.5.1-3.module_el8.10.0+4294+1072b022 |
| 8 | rubygem-bson rubygem-bson-doc |
Fixed | 4.3.0-2.module_el8.5.0+2625+ec418553 |
| 8 | rubygem-bundler-doc rubygem-bundler |
Fixed | 1.16.1-5.module_el8.10.0+3991+5e651d4e |
| 8 | ruby-libs ruby-devel ruby-default-gems +3 more |
Fixed | 3.3.14-10.module_el8.10.0+4392+a00a374e |
| 8 | rubygem-json |
Fixed | 2.7.2-10.module_el8.10.0+4392+a00a374e |
| 8 | rubygem-io-console |
Fixed | 0.7.1-10.module_el8.10.0+4392+a00a374e |
| 8 | rubygem-minitest |
Fixed | 5.20.0-10.module_el8.10.0+4392+a00a374e |
| 8 | rubygem-irb |
Fixed | 1.13.1-10.module_el8.10.0+4392+a00a374e |
| 8 | rubygem-power_assert |
Fixed | 2.0.3-10.module_el8.10.0+4392+a00a374e |
| 8 | rubygem-bigdecimal |
Fixed | 3.1.5-10.module_el8.10.0+4392+a00a374e |
| 8 | rubygem-psych |
Fixed | 5.1.2-10.module_el8.10.0+4392+a00a374e |
| 8 | rubygem-abrt-doc |
Fixed | 0.3.0-4.module_el8.10.0+3871+342e2c2f |
| 8 | rubygem-abrt |
Fixed | 0.3.0-4.module_el8.5.0+2625+ec418553 |
| 8 | rubygem-pg-doc rubygem-pg |
Fixed | 1.0.0-3.module_el8.9.0+3635+c6f99506 |
| 8 | rubygem-mysql2-doc rubygem-mysql2 |
Fixed | 0.4.10-4.module_el8.5.0+2625+ec418553 |
Red Hat Fixed 2 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 9 | rubygem-psych |
Fixed | 5.3.1-37.module+el9.9.0+25425+8f45b3b9 |
| 9 | rubygem-rake |
Fixed | 13.3.1-37.module+el9.9.0+25425+8f45b3b9 |
| 9 | rubygem-rbs |
Fixed | 3.10.0-37.module+el9.9.0+25425+8f45b3b9 |
| 9 | rubygem-rdoc |
Fixed | 7.0.4-37.module+el9.9.0+25425+8f45b3b9 |
| 9 | rubygem-rss |
Fixed | 0.3.2-37.module+el9.9.0+25425+8f45b3b9 |
| 9 | rubygems-devel rubygem-bundler rubygems |
Fixed | 4.0.20-37.module+el9.9.0+25425+8f45b3b9 |
| 9 | ruby ruby-default-gems ruby-doc +3 more |
Fixed | 4.0.10-37.module+el9.9.0+25425+8f45b3b9 |
| 9 | rubygem-test-unit |
Fixed | 3.7.5-37.module+el9.9.0+25425+8f45b3b9 |
| 9 | rubygem-bigdecimal |
Fixed | 4.0.1-37.module+el9.9.0+25425+8f45b3b9 |
| 9 | rubygem-irb |
Fixed | 1.16.0-37.module+el9.9.0+25425+8f45b3b9 |
| 9 | rubygem-json |
Fixed | 2.18.3-37.module+el9.9.0+25425+8f45b3b9 |
| 9 | rubygem-minitest |
Fixed | 6.0.0-37.module+el9.9.0+25425+8f45b3b9 |
| 9 | rubygem-io-console |
Fixed | 0.8.2-37.module+el9.9.0+25425+8f45b3b9 |
| 9 | rubygem-mysql2 rubygem-mysql2-doc |
Fixed | 0.5.7-1.module+el9.8.0+24280+122d8796 |
| 9 | rubygem-pg rubygem-pg-doc |
Fixed | 1.6.3-1.module+el9.8.0+24280+122d8796 |
| 9 | rubygem-power_assert |
Fixed | 3.0.1-37.module+el9.9.0+25425+8f45b3b9 |
| 9 | rubygem-racc |
Fixed | 1.8.1-37.module+el9.9.0+25425+8f45b3b9 |
| 9 | rubygem-typeprof |
Fixed | 0.31.1-37.module+el9.9.0+25425+8f45b3b9 |
| 9 | rubygem-rexml |
Fixed | 3.4.4-37.module+el9.9.0+25425+8f45b3b9 |
| 8 | ruby-default-gems ruby-bundled-gems |
Fixed | 3.3.14-10.module+el8.10.0+25423+94958bb0 |
| 8 | rubygem-irb |
Fixed | 1.13.1-10.module+el8.10.0+25423+94958bb0 |
| 8 | rubygem-racc |
Fixed | 1.7.3-10.module+el8.10.0+25423+94958bb0 |
| 8 | rubygem-rexml |
Fixed | 3.4.4-10.module+el8.10.0+25423+94958bb0 |
| 8 | rubygem-rss |
Fixed | 0.3.1-10.module+el8.10.0+25423+94958bb0 |
| 8 | rubygem-typeprof |
Fixed | 0.21.9-10.module+el8.10.0+25423+94958bb0 |
| 8 | ruby ruby-doc ruby-irb +2 more |
Fixed | 2.5.9-119.module+el8.10.0+25387+b232f1b4 |
| 8 | rubygem-abrt rubygem-abrt-doc |
Fixed | 0.3.0-4.module+el8.10.0+22021+135c76a8 |
| 8 | rubygem-bson rubygem-bson-doc |
Fixed | 4.3.0-2.module+el8.9.0+19193+435404ae |
| 8 | rubygem-bundler rubygem-bundler-doc |
Fixed | 1.16.1-5.module+el8.10.0+23088+750dc6ca |
| 8 | rubygem-did_you_mean |
Fixed | 1.2.0-119.module+el8.10.0+25387+b232f1b4 |
| 8 | rubygem-io-console |
Fixed | 0.4.6-119.module+el8.10.0+25387+b232f1b4 |
| 8 | rubygem-json |
Fixed | 2.1.0-119.module+el8.10.0+25387+b232f1b4 |
| 8 | rubygem-minitest |
Fixed | 5.10.3-119.module+el8.10.0+25387+b232f1b4 |
| 8 | rubygem-mongo rubygem-mongo-doc |
Fixed | 2.5.1-3.module+el8.10.0+24944+b1921893 |
| 8 | rubygem-mysql2 rubygem-mysql2-doc |
Fixed | 0.4.10-4.module+el8.9.0+19193+435404ae |
| 8 | rubygem-net-telnet |
Fixed | 0.1.1-119.module+el8.10.0+25387+b232f1b4 |
| 8 | rubygem-pg rubygem-pg-doc |
Fixed | 1.0.0-3.module+el8.9.0+19193+435404ae |
| 8 | rubygem-power_assert |
Fixed | 1.1.1-119.module+el8.10.0+25387+b232f1b4 |
| 8 | rubygem-rake |
Fixed | 12.3.3-119.module+el8.10.0+25387+b232f1b4 |
| 8 | rubygem-rdoc |
Fixed | 6.0.1.1-119.module+el8.10.0+25387+b232f1b4 |
| 8 | rubygem-xmlrpc |
Fixed | 0.3.0-119.module+el8.10.0+25387+b232f1b4 |
| 8 | rubygems rubygems-devel |
Fixed | 2.7.6.3-119.module+el8.10.0+25387+b232f1b4 |
| 8 | rubygem-bigdecimal |
Fixed | 1.3.4-119.module+el8.10.0+25387+b232f1b4 |
| 8 | rubygem-rbs |
Fixed | 3.4.0-10.module+el8.10.0+25423+94958bb0 |
| 8 | rubygem-test-unit |
Fixed | 3.2.7-119.module+el8.10.0+25387+b232f1b4 |
| 8 | rubygem-openssl |
Fixed | 2.1.2-119.module+el8.10.0+25387+b232f1b4 |
| 8 | rubygem-psych |
Fixed | 3.0.2-119.module+el8.10.0+25387+b232f1b4 |
Rocky Linux Fixed 3 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 10 | ruby4.0 |
Fixed | 4.0.10-39.el10_3 |
| 10 | ruby |
Fixed | 3.3.14-17.el10_3 |
| 9 | ruby |
Fixed | 4.0.10-37.module+el9.9.0+40505+290d358f |
| 9 | rubygem-mysql2 |
Fixed | 0.5.7-1.module+el9.8.0+40094+ce01217c |
| 9 | rubygem-pg |
Fixed | 1.6.3-1.module+el9.8.0+40094+ce01217c |
| 8 | rubygem-pg |
Fixed | 1.0.0-3.module+el8.9.0+1536+5f79634e |
| 8 | rubygem-mysql2 |
Fixed | 0.4.10-4.module+el8.9.0+1536+5f79634e |
| 8 | rubygem-abrt |
Fixed | 0.3.0-4.module+el8.5.0+738+032c9c02 |
| 8 | ruby |
Fixed | 2.5.9-119.module+el8.10.0+40506+31b62bb5 |
| 8 | rubygem-mongo |
Fixed | 2.5.1-3.module+el8.10.0+40366+397889f9 |
| 8 | rubygem-bson |
Fixed | 4.3.0-2.module+el8.9.0+1536+5f79634e |
| 8 | rubygem-bundler |
Fixed | 1.16.1-5.module+el8.10.0+1979+815637df |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
References
- https://github.com/ruby/ruby/security/advisories/GHSA-34m4-m9fh-gqp5
- https://news.ycombinator.com/item?id=50554038
- https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/
- https://bugzilla.suse.com/show_bug.cgi?id=1290919
- https://github.com/evenomn/CVE-2026-132825
- https://ubuntu.com/security/CVE-2026-132825
- https://verialabs.com/ruby2shell/
- https://www.suse.com/security/cve/CVE-2026-132825.html
- 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://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-132825
- https://security-tracker.debian.org/tracker/CVE-2026-132825
- 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://access.redhat.com/errata/RHSA-2026:102714
- https://bugzilla.redhat.com/2539842
- https://bugzilla.redhat.com/2550153
- https://bugzilla.redhat.com/2558632
- https://bugzilla.redhat.com/2576211
- https://errata.almalinux.org/10/ALSA-2026-102714.html
- https://access.redhat.com/errata/RHSA-2026:102715
- https://bugzilla.redhat.com/2539836
- https://errata.almalinux.org/10/ALSA-2026-102715.html
- https://errata.rockylinux.org/RLSA-2026:102928
CWEs
CWE-122
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.