Off-by-one in Ruby - #VU169568

 

Off-by-one in Ruby - #VU169568

Published: November 23, 2026


Vulnerability identifier: #VU169568
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-193
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to an off-by-one error in case conversion of strings. A remote attacker can trigger an off-by-one error and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Ruby

Remediation

Install updates from vendor's website.

Ruby - addressed in versions 3.3.14, 3.4.13, 4.0.10

External References

Related Security Bulletins