Servers and applications
CVE-2026-132825
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.
- Severity
- High 7.4
- Published
- 19 Nov 2026
- Last changed
- 20 Nov 2026
- Added to UpHeron
- 19 Nov 2026
- Fixed in
- 3.3.14, 3.4.13, 4.0.10
- Exploit chance
- 0.2% in the next 30 daysHigher than 7% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Needs local access · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- Sources
- CVE Program
Affected software
| Software | Affected versions |
|---|---|
RubyServers and applications · cna:ruby-lang|ruby |
|
About Ruby
general-purpose programming language
- Share of websites with a known server-side language
- 7.3%W3Techs, Nov 2026
- Developers who used it in the past year
- 6.4%Stack Overflow Developer Survey 2025, 2025
- Docker Hub pulls
- 1,593,242,796Docker Hub, 15 Nov 2026
- GitHub stars
- 23,813GitHub, 15 Nov 2026
- Forks
- 5,687GitHub, 15 Nov 2026
- Latest release
- v4.0.9GitHub, 15 Nov 2026
- Released
- 23 Oct 2026GitHub
- Developer
- Yukihiro MatsumotoWikidata
- License
- Ruby License, GNU General Public License, version 2.0, 2-clause BSD LicenseWikidata
- Written in
- CWikidata
- First released
- 1995Wikidata
- First published on GitHub
- 27 Feb 2010GitHub
Website Source code Docker image
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 4.0 | 4.0.9 | Until 31 Mar 2029 |
| 3.4 | 3.4.12 | Until 31 Mar 2028 |
| 3.3 | 3.3.13 | Until 31 Mar 2027 |
| 3.2 | 3.2.11 | Ended 31 Mar 2026 |
| 3.1 | 3.1.7 | Ended 26 Mar 2025 |
| 3.0 | 3.0.7 | Ended 23 Apr 2024 |
From endoflife.date.
Vulnerabilities in Ruby
- In our list
- 94
- Published in the last 12 months
- 3
- Critical, last 12 months
- 1
- High, last 12 months
- 2
- Known exploited
- 1
- CVE-2026-97229Integer Overflow or Wraparound in GitLabCritical 10.0 13 Oct 2026 · Exploited
- CVE-2026-46727An issue was discovered in Ruby 4 before 4.0.5. A race condition leading to a use-after-free in the pthread-based getaddrinfo timeout handler (rb_getaddrinfo in ext/socket/raddrinfo.c) allows a remote attacker who can delay DNS responses near the user-specified timeout to crash a Ruby process that calls Addrinfo.getaddrinfo(..., timeout:) or Socket.tcp(..., resolv_timeout:).…High 8.1 22 May 2026
- CVE-2023-28756A ReDoS issue was discovered in the Time component through 0.2.1 in Ruby through 3.2.1. The Time parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to Time objects. The fixed versions are 0.1.1 and 0.2.2.Medium 5.3 31 Mar 2023
- CVE-2021-33621The cgi gem before 0.1.0.2, 0.2.x before 0.2.2, and 0.3.x before 0.3.5 for Ruby allows HTTP response splitting. This is relevant to applications that use untrusted user input either to generate an HTTP response or to create a CGI::Cookie object.High 8.8 18 Nov 2022
- CVE-2016-2338An exploitable heap overflow vulnerability exists in the Psych::Emitter start_document function of Ruby. In Psych::Emitter start_document function heap buffer "head" allocation is made based on tags array length. Specially constructed object passed as element of tags array can increase this array size after mentioned allocation and cause heap overflow.Critical 9.8 29 Sept 2022
- CVE-2022-28739There is a buffer over-read in Ruby before 2.6.10, 2.7.x before 2.7.6, 3.x before 3.0.4, and 3.1.x before 3.1.2. It occurs in String-to-Float conversion, including Kernel#Float and String#to_f.High 7.5 9 May 2022
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-132825