Out-of-bounds Write Affecting ruby3.2-rubygem-json package, versions <0:2.6.3-184.amzn2023.0.7


Severity

Recommended
high

Based on Amazon Linux 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-AMZN2023-RUBY32RUBYGEMJSON-22701032
  • published21 Nov 2026
  • disclosed19 Nov 2026

Introduced: 19 Nov 2026

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

How to fix?

Upgrade Amazon-Linux:2023 ruby3.2-rubygem-json to version 0:2.6.3-184.amzn2023.0.7 or higher.
This issue was patched in ALAS2023-2026-3511.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby3.2-rubygem-json package and not the ruby3.2-rubygem-json package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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