Integer Overflow or Wraparound Affecting ruby package, versions [0,]


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-RUBY-22631378
  • published20 Nov 2026
  • disclosed19 Nov 2026
  • creditbaba__yaga,Michele Carassiti

Introduced: 19 Nov 2026

New CVE NOT AVAILABLE CWE-190  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound in the rb_str_casemap() function in string.c during string case conversion. An attacker can overflow the length accounting and write past the end of a heap buffer by case-converting a string whose result exceeds 4 GiB through an operation such as String#upcase, #downcase, #swapcase, or #capitalize, allowing remote code execution. Exploitation requires converting a string of roughly 4 GiB or larger, so it applies to 64-bit platforms with sufficient memory.

CVSS Base Scores

version 4.0
version 3.1