Heap-based Buffer Overflow Affecting rubygems-devel package, versions <0:3.5.22-10.module+el8.10.0+40503+bee6a2ad


Severity

Recommended
critical

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
1.97% (82nd 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-ROCKY8-RUBYGEMSDEVEL-22980831
  • published26 Nov 2026
  • disclosed19 Nov 2026

Introduced: 19 Nov 2026

NewCVE-2026-132825  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 rubygems-devel to version 0:3.5.22-10.module+el8.10.0+40503+bee6a2ad or higher.
This issue was patched in RLSA-2026:102909.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygems-devel package and not the rubygems-devel package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

Ruby before 3.3.14, 3.4.13, and 4.0.10 has a heap-based buffer overflow during case conversion. One byte can be written outside a buffer for, for example, ISO-8859-1 or Windows-1252.

CVSS Base Scores

version 3.1