Heap-based Buffer Overflow Affecting ruby:3.3/rubygem-json package, versions <0:2.7.2-11.module_el9.9.0+369+a6e509a7


Severity

Recommended
critical

Based on AlmaLinux security rating.

Threat Intelligence

Social Trends
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-ALMALINUX9-RUBY-22984135
  • published26 Nov 2026
  • disclosed24 Nov 2026

Introduced: 24 Nov 2026

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

How to fix?

Upgrade AlmaLinux:9 ruby:3.3/rubygem-json to version 0:2.7.2-11.module_el9.9.0+369+a6e509a7 or higher.
This issue was patched in ALSA-2026:102869.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby:3.3/rubygem-json package and not the ruby:3.3/rubygem-json package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 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