Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
WS-2026-0306
Published:November 19, 2026
Updated:November 20, 2026
Ruby 1.9.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 of the compiled program size when compiling a regular expression (regcomp.c), causing a heap-based buffer overflow with attacker-controlled patterns. Fixed in 3.3.14, 3.4.13 and 4.0.10.
Affected Packages
ruby (CONDA):
Affected version(s) >=4.0.2 <4.0.10
Fix Suggestion:
Update to version 4.0.10
ruby (CONDA):
Affected version(s) >=2.3.3 <3.3.14 || >=3.1.0 <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
https://github.com/ruby/ruby.git (GITHUB):
Affected version(s) >=v1_9_0_0 <v3_3_14 || >=v2_0_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) >=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) >=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.3
Attack Vector
NETWORK
Attack Complexity
LOW
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:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Integer Overflow or Wraparound