WS-2026-0304
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 out-of-bounds read in case-insensitive regular expression matching (match_at in regexec.c), which can lead to memory corruption with attacker-controlled patterns. Fixed in 3.3.14, 3.4.13 and 4.0.10.
Affected Packages
ruby (CONDA):
Affected version(s) >=3.4.0 <3.4.13Fix Suggestion:
Update to version 3.4.13ruby (CONDA):
Affected version(s) >=2.3.3 <3.3.14 || >=3.1.0 <3.3.14Fix Suggestion:
Update to version 3.3.14ruby (CONDA):
Affected version(s) >=4.0.2 <4.0.10Fix Suggestion:
Update to version 4.0.10https://github.com/ruby/ruby.git (GITHUB):
Affected version(s) >=v3_4_0_rc1 <v3_4_13Fix Suggestion:
Update to version v3_4_13https://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_14Fix Suggestion:
Update to version v3_3_14https://github.com/ruby/ruby.git (GITHUB):
Affected version(s) >=v4.0.0 <v4.0.10Fix Suggestion:
Update to version v4.0.10Related Resources (2)
Do you need more information?
Contact UsCVSS 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)
Out-of-bounds Read