Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
WS-2026-0308
Published:November 19, 2026
Updated:November 20, 2026
Ruby 2.4.0 through 3.3.13, 3.4.0 through 3.4.12, and 4.0.0 through 4.0.9 (and 4.1.0-preview1) have an integer overflow in string case conversion (rb_str_casemap in string.c) when the result exceeds 4 GiB, causing a heap-based buffer overflow. Fixed in 3.3.14, 3.4.13 and 4.0.10.
Affected Packages
ruby (CONDA):
Affected version(s) >=3.1.0 <3.3.14 || >=2.4.1 <3.3.14
Fix Suggestion:
Update to version 3.3.14
ruby (CONDA):
Affected version(s) >=3.4.0 <3.4.13
Fix Suggestion:
Update to version 3.4.13
ruby (CONDA):
Affected version(s) >=4.0.2 <4.0.10
Fix Suggestion:
Update to version 4.0.10
https://github.com/ruby/ruby.git (GITHUB):
Affected version(s) >=v3_4_0_rc1 <v3_4_13
Fix Suggestion:
Update to version v3_4_13
https://github.com/ruby/ruby.git (GITHUB):
Affected version(s) >=v2_4_0_rc1 <v3_3_14 || >=v3_0_0_rc1 <v3_3_14
Fix Suggestion:
Update to version v3_3_14
https://github.com/ruby/ruby.git (GITHUB):
Affected version(s) >=v4.0.0 <v4.0.10
Fix Suggestion:
Update to version v4.0.10
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Integer Overflow or Wraparound