CVE-2026-132825
High 7.4No known exploitationFix availableRuby 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.
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 9% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-122
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Microsoft | azl3 ruby 3.3.13-11 on Azure Linux 3.0 | Not documented | Not documented | Microsoft MSRC |
| ruby-lang | Ruby | from 3.4.0 before 3.4.13 | 3.4.13 | CVE Program |
| ruby-lang | Ruby | from 4.0.0 before 4.0.10 | 4.0.10 | CVE Program |
| ruby-lang | Ruby | all versions before 3.3.14 | 3.3.14 | CVE Program |
Timeline
Disclosure
CVE record published by mitre
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- http://www.openwall.com/lists/oss-security/2026/11/20/5 (opens in a new tab)
- https://bugzilla.suse.com/show_bug.cgi?id=1290919 (opens in a new tab)
- https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-6-1-released/ (opens in a new tab)
- https://github.com/ruby/ruby/security/advisories/GHSA-34m4-m9fh-gqp5 (opens in a new tab)
- https://github.com/semgrep/detection-scripts/pull/16 (opens in a new tab)
- https://gitlab.com/gitlab-org/omnibus-gitlab/-/commit/8fcf9d6372da3fe553bd21c3beae70634d6ba936 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2026/11/msg00052.html (opens in a new tab)
- https://news.ycombinator.com/item?id=50554038 (opens in a new tab)
- https://ubuntu.com/security/CVE-2026-132825 (opens in a new tab)
- https://verialabs.com/ruby2shell/ (opens in a new tab)
- https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/ (opens in a new tab)