Off-by-one Error 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
EPSS
1.98% (81st percentile)

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 IDSNYK-CONAN-RUBY-22631371
  • published20 Nov 2026
  • disclosed19 Nov 2026
  • creditStephan Lipp

Introduced: 19 Nov 2026

NewCVE-2026-132825  (opens in a new tab)
CWE-193  (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 Off-by-one Error that causes a a heap buffer overflow in the case_map() function of its single-byte encoding modules (enc/iso_8859_1.c, enc/windows_1252.c, and twelve other ISO-8859 and Windows single-byte encodings). An attacker can write one byte past the end of the output buffer by changing the case of a string that contains the sharp s byte 0xDF in one of these encodings, because each 0xDF expands to two bytes ("SS" or "ss") while the loop guard leaves room for only one. The overflow is reached only when the string is in one of the affected single-byte encodings and is processed by a case operation such as String#upcase, #downcase(:fold), #swapcase, #capitalize, or #casecmp?.

CVSS Base Scores

version 4.0
version 3.1