CVE-2026-132825
JSON

7.4high

Ruby before 3.3.14, 3.4.13, and 4.0.10 has a heap-based buffer overflow during case conversion.

Severity
7.4high CVSS:3.1 by mitre
Exploit likelihood
1.97% (higher than 81% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
BIT-RUBY-2026-132825BIT-RUBY-MIN-2026-132825GHSA-34m4-m9fh-gqp5

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.

Affected

Product or packageVersionsReported by
ruby-lang Rubybefore 3.3.14, from 3.4.0 before 3.4.13, from 4.0.0 before 4.0.10CVE List
ruby (Bitnami)before 3.3.14, from 3.4.0 before 3.4.13, from 4.0.0 before 4.0.10Bitnami Vulnerability Database
ruby-min (Bitnami)before 3.3.14, from 3.4.0 before 3.4.13, from 4.0.0 before 4.0.10Bitnami Vulnerability Database

All scores

mitre7.4high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-122

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

https://news.ycombinator.com/item?id=50554038web
https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/web
https://github.com/ruby/ruby/security/advisories/GHSA-34m4-m9fh-gqp5web
https://ubuntu.com/security/CVE-2026-132825web
https://bugzilla.suse.com/show_bug.cgi?id=1290919web
https://verialabs.com/ruby2shell/web
https://github.com/evenomn/CVE-2026-132825web
https://github.com/semgrep/detection-scripts/pull/16web
https://gitlab.com/gitlab-org/omnibus-gitlab/-/commit/8fcf9d6372da3fe553bd21c3beae70634d6ba936web
http://www.openwall.com/lists/oss-security/2026/11/20/5web
https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-6-1-released/web
https://lists.debian.org/debian-lts-announce/2026/11/msg00052.htmlweb

Sources

SourceRecordLicence
CVE ListCVE-2026-132825 changed 2026-11-21CVE Terms of Use
NVDCVE-2026-132825 changed 2026-11-21Public domain
Bitnami Vulnerability DatabaseBIT-RUBY-2026-132825 changed 2026-11-27Apache-2.0
Bitnami Vulnerability DatabaseBIT-RUBY-MIN-2026-132825 changed 2026-11-27Apache-2.0